Author: scottmarlownovell
Date: 2006-12-15 11:30:55 -0500 (Fri, 15 Dec 2006)
New Revision: 10998
Modified:
branches/Branch_3_2/Hibernate3/src/org/hibernate/bytecode/javassist/FastClass.java
Log:
Fix for HHH-1646.
Modified:
branches/Branch_3_2/Hibernate3/src/org/hibernate/bytecode/javassist/FastClass.java
===================================================================
---
branches/Branch_3_2/Hibernate3/src/org/hibernate/bytecode/javassist/FastClass.java 2006-12-15
09:55:36 UTC (rev 10997)
+++
branches/Branch_3_2/Hibernate3/src/org/hibernate/bytecode/javassist/FastClass.java 2006-12-15
16:30:55 UTC (rev 10998)
@@ -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 );