From d0d349e5a8cd1d48bfe50fc93e762b26ee17a39a Mon Sep 17 00:00:00 2001 From: Ida Massow Date: Sun, 19 Jun 2011 16:11:23 +0200 Subject: Fix warnings git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@484 72836036-5685-4462-b002-a69064685172 --- src/jrummikub/util/Pair.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/jrummikub/util') diff --git a/src/jrummikub/util/Pair.java b/src/jrummikub/util/Pair.java index 5ebc7f2..80b9ea0 100644 --- a/src/jrummikub/util/Pair.java +++ b/src/jrummikub/util/Pair.java @@ -61,7 +61,6 @@ public class Pair implements Serializable { return result; } - @SuppressWarnings("unchecked") @Override public boolean equals(Object obj) { if (this == obj) @@ -70,6 +69,7 @@ public class Pair implements Serializable { return false; if (getClass() != obj.getClass()) return false; + @SuppressWarnings("rawtypes") Pair other = (Pair) obj; if (first == null) { if (other.first != null) -- cgit v1.2.3