diff options
Diffstat (limited to 'src/jrummikub/util')
-rw-r--r-- | src/jrummikub/util/Pair.java | 2 |
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) |