summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/util
diff options
context:
space:
mode:
authorIda Massow <massow@informatik.uni-luebeck.de>2011-06-19 16:11:23 +0200
committerIda Massow <massow@informatik.uni-luebeck.de>2011-06-19 16:11:23 +0200
commitd0d349e5a8cd1d48bfe50fc93e762b26ee17a39a (patch)
treebc51f6e3a79684f67c193c82778dd7008acd763b /src/jrummikub/util
parent92fe29000b3a8da2adc498154521e7969b6f9c5f (diff)
downloadJRummikub-d0d349e5a8cd1d48bfe50fc93e762b26ee17a39a.tar
JRummikub-d0d349e5a8cd1d48bfe50fc93e762b26ee17a39a.zip
Fix warnings
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@484 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub/util')
-rw-r--r--src/jrummikub/util/Pair.java2
1 files changed, 1 insertions, 1 deletions
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<T1, T2> implements Serializable {
return result;
}
- @SuppressWarnings("unchecked")
@Override
public boolean equals(Object obj) {
if (this == obj)
@@ -70,6 +69,7 @@ public class Pair<T1, T2> implements Serializable {
return false;
if (getClass() != obj.getClass())
return false;
+ @SuppressWarnings("rawtypes")
Pair other = (Pair) obj;
if (first == null) {
if (other.first != null)