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 );
Show replies by date