Return-Path: Delivered-To: apmail-incubator-openwebbeans-commits-archive@locus.apache.org Received: (qmail 55085 invoked from network); 14 Dec 2008 13:52:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Dec 2008 13:52:56 -0000 Received: (qmail 74219 invoked by uid 500); 14 Dec 2008 13:53:09 -0000 Delivered-To: apmail-incubator-openwebbeans-commits-archive@incubator.apache.org Received: (qmail 74209 invoked by uid 500); 14 Dec 2008 13:53:09 -0000 Mailing-List: contact openwebbeans-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: openwebbeans-dev@incubator.apache.org Delivered-To: mailing list openwebbeans-commits@incubator.apache.org Received: (qmail 74198 invoked by uid 99); 14 Dec 2008 13:53:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Dec 2008 05:53:09 -0800 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; Sun, 14 Dec 2008 13:52:55 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id A22842388882; Sun, 14 Dec 2008 05:52:35 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r726443 - /incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/DefinitionUtil.java Date: Sun, 14 Dec 2008 13:52:35 -0000 To: openwebbeans-commits@incubator.apache.org From: gerdogdu@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20081214135235.A22842388882@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: gerdogdu Date: Sun Dec 14 05:52:35 2008 New Revision: 726443 URL: http://svn.apache.org/viewvc?rev=726443&view=rev Log: Update API type of the producer method configuration. Modified: incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/DefinitionUtil.java Modified: incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/DefinitionUtil.java URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/DefinitionUtil.java?rev=726443&r1=726442&r2=726443&view=diff ============================================================================== --- incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/DefinitionUtil.java (original) +++ incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/DefinitionUtil.java Sun Dec 14 05:52:35 2008 @@ -132,11 +132,7 @@ */ public static void defineProducerMethodApiTypes(AbstractComponent component, Class clazz) { - if(clazz.isInterface()) - { - ClassUtil.setInterfaceTypeHierarchy(component.getTypes(), clazz); - } - else if(clazz.isPrimitive() || clazz.isArray()) + if(clazz.isPrimitive() || clazz.isArray()) { component.getTypes().add(clazz); }