You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aries.apache.org by no...@apache.org on 2010/03/02 00:00:12 UTC

svn commit: r917781 - /incubator/aries/trunk/application/application-obr-resolver/src/main/java/org/apache/aries/application/resolver/obr/OBRAriesResolver.java

Author: not
Date: Mon Mar  1 23:00:12 2010
New Revision: 917781

URL: http://svn.apache.org/viewvc?rev=917781&view=rev
Log:
ARIES-174 Should not be putting the by value content into the set of resolved content. Only Bundles derived from the OBR resolve should go in.

Modified:
    incubator/aries/trunk/application/application-obr-resolver/src/main/java/org/apache/aries/application/resolver/obr/OBRAriesResolver.java

Modified: incubator/aries/trunk/application/application-obr-resolver/src/main/java/org/apache/aries/application/resolver/obr/OBRAriesResolver.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/application-obr-resolver/src/main/java/org/apache/aries/application/resolver/obr/OBRAriesResolver.java?rev=917781&r1=917780&r2=917781&view=diff
==============================================================================
--- incubator/aries/trunk/application/application-obr-resolver/src/main/java/org/apache/aries/application/resolver/obr/OBRAriesResolver.java (original)
+++ incubator/aries/trunk/application/application-obr-resolver/src/main/java/org/apache/aries/application/resolver/obr/OBRAriesResolver.java Mon Mar  1 23:00:12 2010
@@ -102,7 +102,7 @@
     
     try {
       if (obrResolver.resolve()) {
-        Set<BundleInfo> result = new HashSet<BundleInfo>(app.getBundleInfo());
+        Set<BundleInfo> result = new HashSet<BundleInfo>();
         for (Resource resource: obrResolver.getRequiredResources()) {
           BundleInfo bundleInfo = toBundleInfo(resource);
           result.add(bundleInfo);