aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r1364830 - /aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/container/BeanRecipe.java
Date Mon, 23 Jul 2012 23:05:16 GMT
Author: gnodet
Date: Mon Jul 23 23:05:16 2012
New Revision: 1364830

URL: http://svn.apache.org/viewvc?rev=1364830&view=rev
Log:
[ARIES-877] The BeanRecipe is missing the factory recipe as a dependency

Modified:
    aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/container/BeanRecipe.java

Modified: aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/container/BeanRecipe.java
URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/container/BeanRecipe.java?rev=1364830&r1=1364829&r2=1364830&view=diff
==============================================================================
--- aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/container/BeanRecipe.java
(original)
+++ aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/container/BeanRecipe.java
Mon Jul 23 23:05:16 2012
@@ -227,6 +227,9 @@ public class BeanRecipe extends Abstract
                 recipes.add(recipe);
             }
         }
+        if (factory != null) {
+            recipes.add(factory);
+        }
         recipes.addAll(getConstructorDependencies());
         return recipes; 
     }



Mime
View raw message