incubator-aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mahrw...@apache.org
Subject svn commit: r978875 - /incubator/aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/container/BeanRecipe.java
Date Sat, 24 Jul 2010 13:45:05 GMT
Author: mahrwald
Date: Sat Jul 24 13:45:05 2010
New Revision: 978875

URL: http://svn.apache.org/viewvc?rev=978875&view=rev
Log:
ARIES-366: Remove commented out code, which is no longer needed

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

Modified: incubator/aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/container/BeanRecipe.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/container/BeanRecipe.java?rev=978875&r1=978874&r2=978875&view=diff
==============================================================================
--- incubator/aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/container/BeanRecipe.java
(original)
+++ incubator/aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/container/BeanRecipe.java
Sat Jul 24 13:45:05 2010
@@ -821,18 +821,6 @@ public class BeanRecipe extends Abstract
 
         final PropertyDescriptor pd = getPropertyDescriptor(clazz, names[names.length - 1]);
         if (pd.allowsSet()) {
-            // convert the value to type of setter/field
-//            Type type = pd.getGenericType(propertyValue);
-//            try {
-//                propertyValue = convert(propertyValue, type);
-//            } catch (Exception e) {
-//                    String valueType = propertyValue == null ? "null" : propertyValue.getClass().getName();
-//                String memberType = type instanceof Class ? ((Class) type).getName() :
type.toString();
-//                throw new ComponentDefinitionException("Unable to convert property value"
+
-//                        " from " + valueType +
-//                        " to " + memberType +
-//                        " for injection " + pd, e);
-//            }
             try {
                 pd.set(instance, propertyValue, blueprintContainer.getAccessControlContext());
             } catch (Exception e) {



Mime
View raw message