Skip to content

Commit

Permalink
Fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
akurtakov committed Mar 15, 2024
1 parent f85fdcb commit 5072628
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import java.io.Serializable;
import java.net.URL;
import java.nio.charset.StandardCharsets;
import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
Expand All @@ -50,7 +51,6 @@
import org.eclipse.pde.internal.core.schema.Schema;
import org.eclipse.pde.internal.core.schema.SchemaDescriptor;
import org.eclipse.pde.internal.core.schema.SchemaProvider;
import org.eclipse.pde.internal.core.util.HeaderMap;
import org.osgi.framework.Constants;

/**
Expand Down Expand Up @@ -164,7 +164,7 @@ private String getPluginID(File manifest) {

if (OSGiFile.exists()) {
try (FileInputStream manifestStream = new FileInputStream(OSGiFile)) {
Map<String, String> headers = ManifestElement.parseBundleManifest(manifestStream, new HeaderMap<>());
Map<String, String> headers = ManifestElement.parseBundleManifest(manifestStream, new HashMap<>());
String value = headers.get(Constants.BUNDLE_SYMBOLICNAME);
if (value == null) {
return null;
Expand Down

0 comments on commit 5072628

Please sign in to comment.