commit | 0cd73cffbe71c98961c883ab0f2f6abad7a0baaa | [log] [tgz] |
---|---|---|
author | Richard S. Hall <rickhall@apache.org> | Fri May 15 13:55:25 2009 +0000 |
committer | Richard S. Hall <rickhall@apache.org> | Fri May 15 13:55:25 2009 +0000 |
tree | 7b479f513168cb08b03cfae6c239ac28b7cd8bb5 | |
parent | 790de594f514aacc724b22c3a18b7fce0892ffb7 [diff] |
Reverted previous change since it appears to not be a bug. (FELIX-1155) git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@775136 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/bundlerepository/src/main/java/org/apache/felix/bundlerepository/PropertyImpl.java b/bundlerepository/src/main/java/org/apache/felix/bundlerepository/PropertyImpl.java index 8d43c4e..27020ea 100644 --- a/bundlerepository/src/main/java/org/apache/felix/bundlerepository/PropertyImpl.java +++ b/bundlerepository/src/main/java/org/apache/felix/bundlerepository/PropertyImpl.java
@@ -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); }