Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaloyan Raev2012-12-13 16:16:23 -0500
committerKaloyan Raev2012-12-13 16:16:23 -0500
commit33df98d3f6584a252959368fa5004e84f83c139c (patch)
tree293de7f127548fa15151615495241e2420cb0f14
parent48ba37b95249582c44611a1369ae056e821a6738 (diff)
downloadorg.eclipse.libra-0.2.2.tar.gz
org.eclipse.libra-0.2.2.tar.xz
org.eclipse.libra-0.2.2.zip
Fix FindBug warningv0.2.2juno
-rw-r--r--plugins/org.eclipse.libra.facet/src/org/eclipse/libra/facet/OSGiBundleFacetInstallConfig.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.libra.facet/src/org/eclipse/libra/facet/OSGiBundleFacetInstallConfig.java b/plugins/org.eclipse.libra.facet/src/org/eclipse/libra/facet/OSGiBundleFacetInstallConfig.java
index 7e8af3b..74bf4a2 100644
--- a/plugins/org.eclipse.libra.facet/src/org/eclipse/libra/facet/OSGiBundleFacetInstallConfig.java
+++ b/plugins/org.eclipse.libra.facet/src/org/eclipse/libra/facet/OSGiBundleFacetInstallConfig.java
@@ -120,8 +120,8 @@ public class OSGiBundleFacetInstallConfig extends ActionConfig implements IFacet
if (manifest != null && manifest.exists()) {
Map<String, String> manifestHeaders = ManifestElement.parseBundleManifest(manifest.getContents(), null);
- for (String key : manifestHeaders.keySet()) {
- headers.put(key, manifestHeaders.get(key));
+ for (Map.Entry<String, String> entry : manifestHeaders.entrySet()) {
+ headers.put(entry.getKey(), entry.getValue());
}
}
} catch (Exception e) {

Back to the top