incubator-aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From timothyjw...@apache.org
Subject svn commit: r921641 - /incubator/aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/container/RecipeBuilder.java
Date Thu, 11 Mar 2010 00:17:14 GMT
Author: timothyjward
Date: Thu Mar 11 00:17:14 2010
New Revision: 921641

URL: http://svn.apache.org/viewvc?rev=921641&view=rev
Log:
ARIES-243 : PassThroughRecipe should handle null names like other Recipes

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

Modified: incubator/aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/container/RecipeBuilder.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/container/RecipeBuilder.java?rev=921641&r1=921640&r2=921641&view=diff
==============================================================================
--- incubator/aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/container/RecipeBuilder.java
(original)
+++ incubator/aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/container/RecipeBuilder.java
Thu Mar 11 00:17:14 2010
@@ -135,7 +135,8 @@ public class RecipeBuilder {
     }
 
     private Recipe createPassThroughRecipe(PassThroughMetadata passThroughMetadata) {
-        return new PassThroughRecipe(passThroughMetadata.getId(), passThroughMetadata.getObject());
+        return new PassThroughRecipe(getName(passThroughMetadata.getId()), 
+            passThroughMetadata.getObject());
     }
 
     private Recipe createReferenceListRecipe(ReferenceListMetadata metadata) {



Mime
View raw message