From af345ac2995a500204ecc2497e0e963d2c835f43 Mon Sep 17 00:00:00 2001 From: North Date: Sat, 5 Apr 2014 16:47:14 +0300 Subject: [PATCH] removed unused method from MageClient interface --- Mage.Client/src/main/java/mage/client/MageFrame.java | 5 ----- .../src/test/java/mage/client/game/MultiConnectTest.java | 6 ------ Mage.Common/src/mage/interfaces/MageClient.java | 2 -- 3 files changed, 13 deletions(-) diff --git a/Mage.Client/src/main/java/mage/client/MageFrame.java b/Mage.Client/src/main/java/mage/client/MageFrame.java index 0f712e1011..4c2c849cd9 100644 --- a/Mage.Client/src/main/java/mage/client/MageFrame.java +++ b/Mage.Client/src/main/java/mage/client/MageFrame.java @@ -1203,11 +1203,6 @@ public class MageFrame extends javax.swing.JFrame implements MageClient { drafts.put(draftId, draftPanel); } - @Override - public UUID getId() { - return clientId; - } - @Override public void connected(final String message) { if (SwingUtilities.isEventDispatchThread()) { diff --git a/Mage.Client/src/test/java/mage/client/game/MultiConnectTest.java b/Mage.Client/src/test/java/mage/client/game/MultiConnectTest.java index e8b46c73d5..f51f99204b 100644 --- a/Mage.Client/src/test/java/mage/client/game/MultiConnectTest.java +++ b/Mage.Client/src/test/java/mage/client/game/MultiConnectTest.java @@ -57,12 +57,6 @@ public class MultiConnectTest { session.connect(connection); } - @Override - public UUID getId() { - logger.info("getId"); - return null; - } - @Override public MageVersion getVersion() { logger.info("getVersion"); diff --git a/Mage.Common/src/mage/interfaces/MageClient.java b/Mage.Common/src/mage/interfaces/MageClient.java index c609e9c650..5458616b9e 100644 --- a/Mage.Common/src/mage/interfaces/MageClient.java +++ b/Mage.Common/src/mage/interfaces/MageClient.java @@ -28,7 +28,6 @@ package mage.interfaces; -import java.util.UUID; import mage.interfaces.callback.CallbackClient; import mage.utils.MageVersion; @@ -38,7 +37,6 @@ import mage.utils.MageVersion; */ public interface MageClient extends CallbackClient { - UUID getId(); MageVersion getVersion(); void connected(String message); void disconnected();