From 843b37aa801c8627f8dd3ffcbe234153d8eebc84 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 20 Jun 2011 15:11:51 +0200 Subject: Fix some bugs concerning the display of invalid sets git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@511 72836036-5685-4462-b002-a69064685172 --- src/jrummikub/model/StoneTray.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/jrummikub/model') diff --git a/src/jrummikub/model/StoneTray.java b/src/jrummikub/model/StoneTray.java index 9148934..a5f023d 100644 --- a/src/jrummikub/model/StoneTray.java +++ b/src/jrummikub/model/StoneTray.java @@ -198,7 +198,7 @@ public class StoneTray implements IStoneTray { @Override public boolean contains(E object) { - return objects.containsKey(objects); + return objects.get(object) != null; } @Override -- cgit v1.2.3