diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2011-06-20 15:11:51 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2011-06-20 15:11:51 +0200 |
commit | 843b37aa801c8627f8dd3ffcbe234153d8eebc84 (patch) | |
tree | 09f6eb4e4c3f0841fce0d041789ea4d312fc68f9 /src/jrummikub/model | |
parent | 0c3eb9a28363ae697f984d9413eb187bfe2511a9 (diff) | |
download | JRummikub-843b37aa801c8627f8dd3ffcbe234153d8eebc84.tar JRummikub-843b37aa801c8627f8dd3ffcbe234153d8eebc84.zip |
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
Diffstat (limited to 'src/jrummikub/model')
-rw-r--r-- | src/jrummikub/model/StoneTray.java | 2 |
1 files changed, 1 insertions, 1 deletions
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<E extends Sizeable> implements IStoneTray<E> { @Override public boolean contains(E object) { - return objects.containsKey(objects); + return objects.get(object) != null; } @Override |