From ca0696d40c42bd1d73c3bbe11924cb48dc07390c Mon Sep 17 00:00:00 2001 From: Bennet Gerlach Date: Tue, 31 May 2011 18:25:36 +0200 Subject: 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 --- mock/jrummikub/model/MockTable.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mock/jrummikub/model/MockTable.java') 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; } -- cgit v1.2.3