From d0bc6491908b5a26da7d8b3f00291ba248c8efb4 Mon Sep 17 00:00:00 2001 From: Marco Risaliti Date: Fri, 4 Mar 2011 23:14:51 +0000 Subject: [PATCH] Remove some warning in ReadOnlyMapEntry (OFBIZ-4102) git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1078207 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/org/ofbiz/base/util/collections/ReadOnlyMapEntry.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/base/src/org/ofbiz/base/util/collections/ReadOnlyMapEntry.java b/framework/base/src/org/ofbiz/base/util/collections/ReadOnlyMapEntry.java index d909fe3322..5e364cbd22 100644 --- a/framework/base/src/org/ofbiz/base/util/collections/ReadOnlyMapEntry.java +++ b/framework/base/src/org/ofbiz/base/util/collections/ReadOnlyMapEntry.java @@ -48,9 +48,9 @@ public class ReadOnlyMapEntry implements Map.Entry { @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()); }