diff --git a/Mage.Client/src/main/java/org/mage/card/arcane/Util.java b/Mage.Client/src/main/java/org/mage/card/arcane/Util.java index e9abd99cac..cf17a41650 100644 --- a/Mage.Client/src/main/java/org/mage/card/arcane/Util.java +++ b/Mage.Client/src/main/java/org/mage/card/arcane/Util.java @@ -1,7 +1,5 @@ package org.mage.card.arcane; -import java.awt.AWTException; -import java.awt.Robot; import java.io.IOException; import java.net.DatagramPacket; import java.net.DatagramSocket; @@ -21,15 +19,6 @@ public class Util { public static final boolean isMac = System.getProperty("os.name").toLowerCase().indexOf("mac") != -1; public static final boolean isWindows = System.getProperty("os.name").toLowerCase().indexOf("windows") == -1; - public static Robot robot; - static { - try { - new Robot(); - } catch (AWTException ex) { - throw new RuntimeException("Error creating robot.", ex); - } - } - public static final ThreadPoolExecutor threadPool; static private int threadCount; static { diff --git a/Mage/src/mage/game/match/MatchImpl.java b/Mage/src/mage/game/match/MatchImpl.java index 6e01b77adf..e1be582d74 100644 --- a/Mage/src/mage/game/match/MatchImpl.java +++ b/Mage/src/mage/game/match/MatchImpl.java @@ -46,7 +46,6 @@ import java.util.*; public abstract class MatchImpl implements Match { protected UUID id = UUID.randomUUID(); - protected String name; protected List players = new ArrayList(); protected List games = new ArrayList(); protected MatchOptions options; diff --git a/Mage/src/mage/game/tournament/TournamentPlayer.java b/Mage/src/mage/game/tournament/TournamentPlayer.java index de9934590c..742169598c 100644 --- a/Mage/src/mage/game/tournament/TournamentPlayer.java +++ b/Mage/src/mage/game/tournament/TournamentPlayer.java @@ -39,7 +39,6 @@ import mage.players.Player; public class TournamentPlayer { protected int points; - protected String name; protected String playerType; protected Player player; protected Deck deck;