From 10153f76a14a7b66e3c936b3249bec0c76835984 Mon Sep 17 00:00:00 2001 From: Ida Massow Date: Sun, 19 Jun 2011 22:27:24 +0200 Subject: Fix mock and tests git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@493 72836036-5685-4462-b002-a69064685172 --- src/jrummikub/control/ApplicationControl.java | 1 - src/jrummikub/control/SaveControl.java | 17 +++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'src/jrummikub/control') diff --git a/src/jrummikub/control/ApplicationControl.java b/src/jrummikub/control/ApplicationControl.java index 87516c0..7a629af 100644 --- a/src/jrummikub/control/ApplicationControl.java +++ b/src/jrummikub/control/ApplicationControl.java @@ -109,7 +109,6 @@ public class ApplicationControl { view); addGameControlListeners(gameControl); gameControl.continueGame(gameState, roundState); - } }); saveControl.getLoadErrorEvent().add(new IListener() { diff --git a/src/jrummikub/control/SaveControl.java b/src/jrummikub/control/SaveControl.java index 31e7a12..4134aec 100644 --- a/src/jrummikub/control/SaveControl.java +++ b/src/jrummikub/control/SaveControl.java @@ -49,14 +49,15 @@ public class SaveControl { view.getQuitWarningPanel().setMode(QuitMode.QUIT_GAME); view.showQuitWarningPanel(true); - tempConnection=view.getQuitWarningPanel().getQuitEvent().add(new IListener() { - @Override - public void handle() { - view.showQuitWarningPanel(false); - view.load(); - tempConnection.remove(); - } - }); + tempConnection = view.getQuitWarningPanel().getQuitEvent() + .add(new IListener() { + @Override + public void handle() { + view.showQuitWarningPanel(false); + view.load(); + tempConnection.remove(); + } + }); } }); view.getLoadFileEvent().add(new IListener1() { -- cgit v1.2.3