summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/control/turn
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-06-19 00:14:27 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-06-19 00:14:27 +0200
commit479384d6bfeea0c225af829cbc1cac730d87c844 (patch)
treef9a1ef3b2e87c9179d482443a11e98581e660939 /src/jrummikub/control/turn
parente8549b95dff600aa173384a8f7bdbf0871ba9d47 (diff)
downloadJRummikub-479384d6bfeea0c225af829cbc1cac730d87c844.tar
JRummikub-479384d6bfeea0c225af829cbc1cac730d87c844.zip
Correctly show invalid sets
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@471 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub/control/turn')
-rw-r--r--src/jrummikub/control/turn/HumanTurnControl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jrummikub/control/turn/HumanTurnControl.java b/src/jrummikub/control/turn/HumanTurnControl.java
index 447c44d..a9a73d7 100644
--- a/src/jrummikub/control/turn/HumanTurnControl.java
+++ b/src/jrummikub/control/turn/HumanTurnControl.java
@@ -441,7 +441,7 @@ public class HumanTurnControl extends AbstractTurnControl {
private void endOfTurn(boolean redeal) {
cleanUp();
- view.setSelectedStones(new ArrayList<Stone>());
+ view.setSelectedStones(Collections.<Stone> emptyList());
if (redeal) {
redealEvent.emit();
} else {