commit | fe71e036d294b26d16558870449e624a80eb85e1 | [log] [tgz] |
---|---|---|
author | Richard S. Hall <rickhall@apache.org> | Tue Jul 10 20:07:03 2007 +0000 |
committer | Richard S. Hall <rickhall@apache.org> | Tue Jul 10 20:07:03 2007 +0000 |
tree | ec292489d585280eaa85605a766e55aee562741b | |
parent | 201a6ef53ba78c006049280f1cd265cfa2ec232b [diff] |
Fixed a bug that was causing the resolver to match against invalid candidates. This bug was introduced during the resolver refactoring for require-bundle. git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@555064 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/framework/src/main/java/org/apache/felix/framework/util/manifestparser/Requirement.java b/framework/src/main/java/org/apache/felix/framework/util/manifestparser/Requirement.java index 2e14740..187d80a 100644 --- a/framework/src/main/java/org/apache/felix/framework/util/manifestparser/Requirement.java +++ b/framework/src/main/java/org/apache/felix/framework/util/manifestparser/Requirement.java
@@ -162,14 +162,6 @@ // Get current attribute from this import package. R4Attribute reqAttr = m_attributes[reqAttrIdx]; - // Ignore version attribute, since it is a special case that - // has already been compared using isVersionInRange() before - // the call to this method was made. - if (reqAttr.getName().equals(Constants.VERSION_ATTRIBUTE)) - { - continue; - } - // Check if the export package has the same attribute. boolean found = false; for (int capAttrIdx = 0;