From b4546a2ecbe0b0454921cfbe28e36485ab8480c3 Mon Sep 17 00:00:00 2001 From: vraskulin Date: Thu, 29 Dec 2016 14:13:23 +0300 Subject: [PATCH] Renamed method According java naming convention methods should start from lowercase letter. --- .../src/main/java/mage/server/game/GameController.java | 2 +- .../src/main/java/mage/server/game/GameSessionPlayer.java | 4 ++-- .../src/main/java/mage/server/game/GameSessionWatcher.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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 87d3904e9e..8794de5b56 100644 --- a/Mage.Server/src/main/java/mage/server/game/GameController.java +++ b/Mage.Server/src/main/java/mage/server/game/GameController.java @@ -145,7 +145,7 @@ public class GameController implements GameCallback { public void cleanUp() { cancelTimeout(); for (GameSessionPlayer gameSessionPlayer : gameSessions.values()) { - gameSessionPlayer.CleanUp(); + gameSessionPlayer.cleanUp(); } ChatManager.getInstance().destroyChatSession(chatId); for (PriorityTimer priorityTimer : timers.values()) { diff --git a/Mage.Server/src/main/java/mage/server/game/GameSessionPlayer.java b/Mage.Server/src/main/java/mage/server/game/GameSessionPlayer.java index e34bdab8db..c9273f401d 100644 --- a/Mage.Server/src/main/java/mage/server/game/GameSessionPlayer.java +++ b/Mage.Server/src/main/java/mage/server/game/GameSessionPlayer.java @@ -74,8 +74,8 @@ public class GameSessionPlayer extends GameSessionWatcher { } @Override - public void CleanUp() { - super.CleanUp(); + public void cleanUp() { + super.cleanUp(); } public void ask(final String question, final Map options) { diff --git a/Mage.Server/src/main/java/mage/server/game/GameSessionWatcher.java b/Mage.Server/src/main/java/mage/server/game/GameSessionWatcher.java index e1db1e08d2..134899e36b 100644 --- a/Mage.Server/src/main/java/mage/server/game/GameSessionWatcher.java +++ b/Mage.Server/src/main/java/mage/server/game/GameSessionWatcher.java @@ -114,7 +114,7 @@ public class GameSessionWatcher { * Cleanup if Session ends * */ - public void CleanUp() { + public void cleanUp() { }