[jboss-cvs] JBossAS SVN: r60092 - trunk/system/src/main/org/jboss/deployers/spi/management.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sun Jan 28 23:35:25 EST 2007


Author: scott.stark at jboss.org
Date: 2007-01-28 23:35:25 -0500 (Sun, 28 Jan 2007)
New Revision: 60092

Modified:
   trunk/system/src/main/org/jboss/deployers/spi/management/ComponentType.java
Log:
Fix the equals check of the ComponentType instanceof check

Modified: trunk/system/src/main/org/jboss/deployers/spi/management/ComponentType.java
===================================================================
--- trunk/system/src/main/org/jboss/deployers/spi/management/ComponentType.java	2007-01-28 23:09:45 UTC (rev 60091)
+++ trunk/system/src/main/org/jboss/deployers/spi/management/ComponentType.java	2007-01-29 04:35:25 UTC (rev 60092)
@@ -84,7 +84,7 @@
    {
       if( this == obj )
          return true;
-      if( obj instanceof ComponentType )
+      if( (obj instanceof ComponentType) == false )
          return false;
 
       boolean equals = false;




More information about the jboss-cvs-commits mailing list