From 3057736c79d4ade4c6d45090d92631ae5a1e0b3c Mon Sep 17 00:00:00 2001 From: Sebastian Bazley Date: Mon, 18 Oct 2010 12:42:04 +0000 Subject: [PATCH] Raw types git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023769 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/commons/collections/keyvalue/TiedMapEntry.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/java/org/apache/commons/collections/keyvalue/TiedMapEntry.java b/src/java/org/apache/commons/collections/keyvalue/TiedMapEntry.java index 0f974c051..9a7fef31a 100644 --- a/src/java/org/apache/commons/collections/keyvalue/TiedMapEntry.java +++ b/src/java/org/apache/commons/collections/keyvalue/TiedMapEntry.java @@ -98,7 +98,6 @@ public class TiedMapEntry implements Map.Entry, KeyValue, Seri * @return true if equal key and value */ @Override - @SuppressWarnings("unchecked") public boolean equals(Object obj) { if (obj == this) { return true; @@ -106,7 +105,7 @@ public class TiedMapEntry implements Map.Entry, KeyValue, Seri if (obj instanceof Map.Entry == false) { return false; } - Map.Entry other = (Map.Entry) obj; + Map.Entry other = (Map.Entry) obj; Object value = getValue(); return (key == null ? other.getKey() == null : key.equals(other.getKey())) &&