From 4f71c5cb4700b39d816c6a4ae123ad94fef456df Mon Sep 17 00:00:00 2001 From: Ida Massow Date: Fri, 17 Jun 2011 20:00:43 +0200 Subject: Kommentare und 2 Methoden, die jetzt kurz genug sind git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@446 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 80b9ea0..5ebc7f2 100644 --- a/src/jrummikub/util/Pair.java +++ b/src/jrummikub/util/Pair.java @@ -61,6 +61,7 @@ public class Pair implements Serializable { return result; } + @SuppressWarnings("unchecked") @Override public boolean equals(Object obj) { if (this == obj) @@ -69,7 +70,6 @@ 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