openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gerdo...@apache.org
Subject svn commit: r886970 - /incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/decorator/DecoratorUtil.java
Date Thu, 03 Dec 2009 22:48:12 GMT
Author: gerdogdu
Date: Thu Dec  3 22:48:11 2009
New Revision: 886970

URL: http://svn.apache.org/viewvc?rev=886970&view=rev
Log:
Decorator compare change.

Modified:
    incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/decorator/DecoratorUtil.java

Modified: incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/decorator/DecoratorUtil.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/decorator/DecoratorUtil.java?rev=886970&r1=886969&r2=886970&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/decorator/DecoratorUtil.java
(original)
+++ incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/decorator/DecoratorUtil.java
Thu Dec  3 22:48:11 2009
@@ -113,7 +113,7 @@
 
                     for (Type decType : decoratorSet)
                     {
-                        if (!fieldType.isAssignableFrom((Class<?>)decType))
+                        if (!(ClassUtil.getClass(decType)).isAssignableFrom(fieldType))
                         {
                             throw new WebBeansConfigurationException("Decorator class : "
+ decoratorClazz.getName() + " delegate attribute must implement all of the decorator decorated
types.");
                         }



Mime
View raw message