Remove some warning in ReadOnlyMapEntry (OFBIZ-4102)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1078207 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Marco Risaliti
2011-03-04 23:14:51 +00:00
parent 6fc064992e
commit d0bc649190
@@ -48,9 +48,9 @@ public class ReadOnlyMapEntry<K, V> implements Map.Entry<K, V> {
@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());
}