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 2009/05/12 01:56:41 UTC

svn commit: r773732 - /incubator/openwebbeans/trunk/webbeans-ejb/src/main/java/org/apache/webbeans/ejb/util/EjbDefinitionUtility.java

Author: gerdogdu
Date: Mon May 11 23:56:41 2009
New Revision: 773732

URL: http://svn.apache.org/viewvc?rev=773732&view=rev
Log:
Update for M2 after testing. Correction of some bugs in the context tests.

Modified:
    incubator/openwebbeans/trunk/webbeans-ejb/src/main/java/org/apache/webbeans/ejb/util/EjbDefinitionUtility.java

Modified: incubator/openwebbeans/trunk/webbeans-ejb/src/main/java/org/apache/webbeans/ejb/util/EjbDefinitionUtility.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-ejb/src/main/java/org/apache/webbeans/ejb/util/EjbDefinitionUtility.java?rev=773732&r1=773731&r2=773732&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-ejb/src/main/java/org/apache/webbeans/ejb/util/EjbDefinitionUtility.java (original)
+++ incubator/openwebbeans/trunk/webbeans-ejb/src/main/java/org/apache/webbeans/ejb/util/EjbDefinitionUtility.java Mon May 11 23:56:41 2009
@@ -70,7 +70,7 @@
                 
                 for(Class<?> localInterface : localInterfaces)
                 {
-                    if(!ClassUtil.isParametrized(localInterface))
+                    if(!ClassUtil.isDefinitionConstainsTypeVariables(localInterface))
                     {
                         ClassUtil.setTypeHierarchy(ejbComponent.getTypes(), localInterface);
                         
@@ -119,7 +119,7 @@
     {
         Class<?> clazz = ejbComponent.getReturnType();
         
-        if(!ClassUtil.isParametrized(clazz))
+        if(!ClassUtil.isDefinitionConstainsTypeVariables(clazz))
         {
             ClassUtil.setClassTypeHierarchy(ejbComponent.getTypes(), clazz);