diff options
author | Bennet Gerlach <bennet_gerlach@web.de> | 2011-05-31 18:25:36 +0200 |
---|---|---|
committer | Bennet Gerlach <bennet_gerlach@web.de> | 2011-05-31 18:25:36 +0200 |
commit | ca0696d40c42bd1d73c3bbe11924cb48dc07390c (patch) | |
tree | 7b4d26cbeabe48802a3c093a1a5ffcd25506e4b6 /mock/jrummikub/model/MockTable.java | |
parent | c3b4eef14ceee77b66c7231879778df3d29a6e05 (diff) | |
download | JRummikub-ca0696d40c42bd1d73c3bbe11924cb48dc07390c.tar JRummikub-ca0696d40c42bd1d73c3bbe11924cb48dc07390c.zip |
Fixed clone() in MockTable to match checkTurnStartSetUp()
in RoundControlTest
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@352 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'mock/jrummikub/model/MockTable.java')
-rw-r--r-- | mock/jrummikub/model/MockTable.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mock/jrummikub/model/MockTable.java b/mock/jrummikub/model/MockTable.java index d5bf07b..b077b7f 100644 --- a/mock/jrummikub/model/MockTable.java +++ b/mock/jrummikub/model/MockTable.java @@ -58,6 +58,8 @@ public class MockTable implements ITable { } public MockTable clone() { + if (clonedTable == null) + return this; return clonedTable; } |