Return-Path: Delivered-To: apmail-incubator-aries-commits-archive@minotaur.apache.org Received: (qmail 80705 invoked from network); 24 Jul 2010 13:46:01 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 24 Jul 2010 13:46:01 -0000 Received: (qmail 88290 invoked by uid 500); 24 Jul 2010 13:46:00 -0000 Delivered-To: apmail-incubator-aries-commits-archive@incubator.apache.org Received: (qmail 88197 invoked by uid 500); 24 Jul 2010 13:45:59 -0000 Mailing-List: contact aries-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: aries-dev@incubator.apache.org Delivered-To: mailing list aries-commits@incubator.apache.org Received: (qmail 88184 invoked by uid 99); 24 Jul 2010 13:45:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Jul 2010 13:45:58 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Jul 2010 13:45:58 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id C24782388980; Sat, 24 Jul 2010 13:45:05 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: aries-commits@incubator.apache.org From: mahrwald@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100724134505.C24782388980@eris.apache.org> 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) {