Fix two warnings
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@277 72836036-5685-4462-b002-a69064685172
This commit is contained in:
parent
11d616f5b0
commit
10e8c1f0e6
2 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,6 @@ import java.util.HashSet;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
import jrummikub.model.GameState;
|
|
||||||
import jrummikub.model.Hand;
|
import jrummikub.model.Hand;
|
||||||
import jrummikub.model.IHand;
|
import jrummikub.model.IHand;
|
||||||
import jrummikub.model.IPlayer;
|
import jrummikub.model.IPlayer;
|
||||||
|
|
|
@ -65,6 +65,7 @@ public class Pair<T1, T2> {
|
||||||
return false;
|
return false;
|
||||||
if (getClass() != obj.getClass())
|
if (getClass() != obj.getClass())
|
||||||
return false;
|
return false;
|
||||||
|
@SuppressWarnings("rawtypes")
|
||||||
Pair other = (Pair) obj;
|
Pair other = (Pair) obj;
|
||||||
if (first == null) {
|
if (first == null) {
|
||||||
if (other.first != null)
|
if (other.first != null)
|
||||||
|
|
Reference in a new issue