felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rickh...@apache.org
Subject svn commit: r538944 - /felix/trunk/tools/maven2/maven-bundle-plugin/src/main/java/org/apache/felix/tools/maven2/bundleplugin/BundlePlugin.java
Date Thu, 17 May 2007 14:33:58 GMT
Author: rickhall
Date: Thu May 17 07:33:57 2007
New Revision: 538944

URL: http://svn.apache.org/viewvc?view=rev&rev=538944
Log:
Applied patch (FELIX-281) to improve handling of nulls for the hashtable.

Modified:
    felix/trunk/tools/maven2/maven-bundle-plugin/src/main/java/org/apache/felix/tools/maven2/bundleplugin/BundlePlugin.java

Modified: felix/trunk/tools/maven2/maven-bundle-plugin/src/main/java/org/apache/felix/tools/maven2/bundleplugin/BundlePlugin.java
URL: http://svn.apache.org/viewvc/felix/trunk/tools/maven2/maven-bundle-plugin/src/main/java/org/apache/felix/tools/maven2/bundleplugin/BundlePlugin.java?view=diff&rev=538944&r1=538943&r2=538944
==============================================================================
--- felix/trunk/tools/maven2/maven-bundle-plugin/src/main/java/org/apache/felix/tools/maven2/bundleplugin/BundlePlugin.java
(original)
+++ felix/trunk/tools/maven2/maven-bundle-plugin/src/main/java/org/apache/felix/tools/maven2/bundleplugin/BundlePlugin.java
Thu May 17 07:33:57 2007
@@ -126,6 +126,9 @@
   for (Iterator i = instructions.entrySet().iterator(); i.hasNext();) {
     final Map.Entry e = (Map.Entry)i.next();
     final String key = (String)e.getKey();
+    if (e.getValue() == null) {
+      e.setValue("");
+    }
     if (key.startsWith("_")) {
       final String transformedKey = "-"+key.substring(1);
       instructions.put(transformedKey, e.getValue());



Mime
View raw message