felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rickh...@apache.org
Subject svn commit: r499830 - /incubator/felix/trunk/framework/src/main/java/org/apache/felix/framework/util/manifestparser/ManifestParser.java
Date Thu, 25 Jan 2007 16:27:04 GMT
Author: rickhall
Date: Thu Jan 25 08:27:03 2007
New Revision: 499830

URL: http://svn.apache.org/viewvc?view=rev&rev=499830
Log:
Fixed bug in R3 verification that was causing erroneous warning 
messages.

Modified:
    incubator/felix/trunk/framework/src/main/java/org/apache/felix/framework/util/manifestparser/ManifestParser.java

Modified: incubator/felix/trunk/framework/src/main/java/org/apache/felix/framework/util/manifestparser/ManifestParser.java
URL: http://svn.apache.org/viewvc/incubator/felix/trunk/framework/src/main/java/org/apache/felix/framework/util/manifestparser/ManifestParser.java?view=diff&rev=499830&r1=499829&r2=499830
==============================================================================
--- incubator/felix/trunk/framework/src/main/java/org/apache/felix/framework/util/manifestparser/ManifestParser.java
(original)
+++ incubator/felix/trunk/framework/src/main/java/org/apache/felix/framework/util/manifestparser/ManifestParser.java
Thu Jan 25 08:27:03 2007
@@ -517,7 +517,7 @@
                         {
                             pkgName = ((Capability) m_capabilities[capIdx]).getAttributes()[attrIdx];
                         }
-                        if (((Capability) m_capabilities[capIdx]).getAttributes()[attrIdx]
+                        else if (((Capability) m_capabilities[capIdx]).getAttributes()[attrIdx]
                             .getName().equals(ICapability.VERSION_PROPERTY))
                         {
                             pkgVersion = ((Capability) m_capabilities[capIdx]).getAttributes()[attrIdx];
@@ -1193,4 +1193,4 @@
 
         return (R4LibraryClause[]) libList.toArray(new R4LibraryClause[libList.size()]);
     }
-}
\ No newline at end of file
+}



Mime
View raw message