Author: doogie
Date: Wed Oct 17 13:46:20 2007
New Revision: 585686
URL:
http://svn.apache.org/viewvc?rev=585686&view=revLog:
Fix CCE in equals.
Modified:
ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/collections/FlexibleMapAccessor.java
Modified: ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/collections/FlexibleMapAccessor.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/collections/FlexibleMapAccessor.java?rev=585686&r1=585685&r2=585686&view=diff==============================================================================
--- ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/collections/FlexibleMapAccessor.java (original)
+++ ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/collections/FlexibleMapAccessor.java Wed Oct 17 13:46:20 2007
@@ -250,6 +250,7 @@
}
public boolean equals(Object that) {
+ if (!(that instanceof FlexibleMapAccessor)) return false;
FlexibleMapAccessor thatAcsr = (FlexibleMapAccessor) that;
if (this.original == null) {
if (thatAcsr.original == null) {