You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwebbeans.apache.org by ge...@apache.org on 2008/12/14 14:52:35 UTC
svn commit: r726443 -
/incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/DefinitionUtil.java
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 <T> void defineProducerMethodApiTypes(AbstractComponent<T> component, Class<T> clazz)
{
- if(clazz.isInterface())
- {
- ClassUtil.setInterfaceTypeHierarchy(component.getTypes(), clazz);
- }
- else if(clazz.isPrimitive() || clazz.isArray())
+ if(clazz.isPrimitive() || clazz.isArray())
{
component.getTypes().add(clazz);
}