[seam-commits] Seam SVN: r12215 - branches/community/Seam_2_2/src/main/org/jboss/seam/init.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Thu Mar 18 09:10:04 EDT 2010


Author: manaRH
Date: 2010-03-18 09:10:04 -0400 (Thu, 18 Mar 2010)
New Revision: 12215

Modified:
   branches/community/Seam_2_2/src/main/org/jboss/seam/init/Initialization.java
Log:
JBSEAM-3996

Modified: branches/community/Seam_2_2/src/main/org/jboss/seam/init/Initialization.java
===================================================================
--- branches/community/Seam_2_2/src/main/org/jboss/seam/init/Initialization.java	2010-03-18 02:19:47 UTC (rev 12214)
+++ branches/community/Seam_2_2/src/main/org/jboss/seam/init/Initialization.java	2010-03-18 13:10:04 UTC (rev 12215)
@@ -602,7 +602,7 @@
          // for the same component name and the same class in classpath don't throw exception,
          // use the first in classpath as standard order - JBSEAM-3996 
          Class clazz = descriptor.getComponentClass();         
-         if (!clazz.equals(other.getComponentClass())) 
+         if (!clazz.getName().equals(other.getComponentClass().getName())) 
          {         
             throw new IllegalStateException("Two components with the same name and precedence - " +
                   "component name: " + name + ", component classes: " + 



More information about the seam-commits mailing list