openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gerdo...@apache.org
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 GMT
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);
 		}



Mime
View raw message