felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rickh...@apache.org
Subject svn commit: r775136 - /felix/trunk/bundlerepository/src/main/java/org/apache/felix/bundlerepository/PropertyImpl.java
Date Fri, 15 May 2009 13:55:26 GMT
Author: rickhall
Date: Fri May 15 13:55:25 2009
New Revision: 775136

URL: http://svn.apache.org/viewvc?rev=775136&view=rev
Log:
Reverted previous change since it appears to not be a bug. (FELIX-1155)

Modified:
    felix/trunk/bundlerepository/src/main/java/org/apache/felix/bundlerepository/PropertyImpl.java

Modified: felix/trunk/bundlerepository/src/main/java/org/apache/felix/bundlerepository/PropertyImpl.java
URL: http://svn.apache.org/viewvc/felix/trunk/bundlerepository/src/main/java/org/apache/felix/bundlerepository/PropertyImpl.java?rev=775136&r1=775135&r2=775136&view=diff
==============================================================================
--- felix/trunk/bundlerepository/src/main/java/org/apache/felix/bundlerepository/PropertyImpl.java
(original)
+++ felix/trunk/bundlerepository/src/main/java/org/apache/felix/bundlerepository/PropertyImpl.java
Fri May 15 13:55:25 2009
@@ -80,12 +80,7 @@
 
     private Object convertType(String value)
     {
-        if ((m_type != null) && m_type.equalsIgnoreCase(Resource.VERSION)
-            && (value.indexOf(',') > 0))
-        {
-            return VersionRange.parse(value);
-        }
-        else if ((m_type != null) && m_type.equalsIgnoreCase(Resource.VERSION))
+        if ((m_type != null) && m_type.equalsIgnoreCase(Resource.VERSION))
         {
             return new Version(value);
         }



Mime
View raw message