[hibernate-commits] Hibernate SVN: r10993 - trunk/Hibernate3/src/org/hibernate/bytecode/javassist

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Thu Dec 14 10:06:37 EST 2006


Author: scottmarlownovell
Date: 2006-12-14 10:06:36 -0500 (Thu, 14 Dec 2006)
New Revision: 10993

Modified:
   trunk/Hibernate3/src/org/hibernate/bytecode/javassist/FastClass.java
Log:
Applied "equals" method patch for HHH-1646.


Modified: trunk/Hibernate3/src/org/hibernate/bytecode/javassist/FastClass.java
===================================================================
--- trunk/Hibernate3/src/org/hibernate/bytecode/javassist/FastClass.java	2006-12-14 13:27:15 UTC (rev 10992)
+++ trunk/Hibernate3/src/org/hibernate/bytecode/javassist/FastClass.java	2006-12-14 15:06:36 UTC (rev 10993)
@@ -157,7 +157,7 @@
 	}
 
 	public boolean equals(Object o) {
-		if ( o == null || ( o instanceof FastClass ) ) {
+		if (! ( o instanceof FastClass ) ) {
 			return false;
 		}
 		return this.type.equals( ( ( FastClass ) o ).type );




More information about the hibernate-commits mailing list