Author: mrisaliti
Date: Fri Mar 4 23:10:49 2011
New Revision: 1078202
URL:
http://svn.apache.org/viewvc?rev=1078202&view=revLog:
Remove some warning in GenericMapEntry (OFBIZ-4102)
Modified:
ofbiz/trunk/framework/base/src/org/ofbiz/base/util/collections/GenericMapEntry.java
Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/collections/GenericMapEntry.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/collections/GenericMapEntry.java?rev=1078202&r1=1078201&r2=1078202&view=diff==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/collections/GenericMapEntry.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/collections/GenericMapEntry.java Fri Mar 4 23:10:49 2011
@@ -47,9 +47,9 @@ public class GenericMapEntry<K, V> imple
@Override
public boolean equals(Object o) {
- if (!(o instanceof Map.Entry)) return false;
+ if (!(o instanceof Map.Entry<?, ?>)) return false;
if (this == o) return true;
- Map.Entry other = (Map.Entry) o;
+ Map.Entry<?, ?> other = (Map.Entry<?, ?>) o;
return UtilObject.equalsHelper(getKey(), other.getKey()) && UtilObject.equalsHelper(getValue(), other.getValue());
}