diff --git a/Mage.Server/src/main/java/mage/server/game/GameController.java b/Mage.Server/src/main/java/mage/server/game/GameController.java index 2398914379..fd9dc8166b 100644 --- a/Mage.Server/src/main/java/mage/server/game/GameController.java +++ b/Mage.Server/src/main/java/mage/server/game/GameController.java @@ -90,7 +90,7 @@ import org.apache.log4j.Logger; */ public class GameController implements GameCallback { - private static ExecutorService gameExecutor = ThreadExecutor.getInstance().getGameExecutor(); + private static final ExecutorService gameExecutor = ThreadExecutor.getInstance().getGameExecutor(); private static final Logger logger = Logger.getLogger(GameController.class); private ConcurrentHashMap gameSessions = new ConcurrentHashMap(); @@ -689,7 +689,6 @@ public class GameController implements GameCallback { @Override public void gameResult(String result) { try { - logger.warn("Game Result: " + result); endGame(result); } catch (MageException ex) { logger.fatal("Game Result error", ex); diff --git a/Mage.Server/src/main/java/mage/server/game/GameWatcher.java b/Mage.Server/src/main/java/mage/server/game/GameWatcher.java index 274056c938..ff492d0981 100644 --- a/Mage.Server/src/main/java/mage/server/game/GameWatcher.java +++ b/Mage.Server/src/main/java/mage/server/game/GameWatcher.java @@ -127,13 +127,7 @@ public class GameWatcher { } public GameView getGameView() { - logger.warn("start getGameView"); - GameState gameState = game.getState(); - logger.warn("start afterState"); - GameView gameView = new GameView(gameState, game, this.isPlayer); - // return new GameView(game.getState(), game, this.isPlayer); - logger.warn("after getGameView"); - return gameView; + return new GameView(game.getState(), game, this.isPlayer); } public GameEndView getGameEndView(UUID playerId, Match match) {