diff --git a/Mage.Client/src/main/java/mage/client/dialog/TestCardRenderDialog.java b/Mage.Client/src/main/java/mage/client/dialog/TestCardRenderDialog.java index 9e598ed5f5..ad92e560e6 100644 --- a/Mage.Client/src/main/java/mage/client/dialog/TestCardRenderDialog.java +++ b/Mage.Client/src/main/java/mage/client/dialog/TestCardRenderDialog.java @@ -35,6 +35,7 @@ import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.util.ArrayList; import java.util.HashSet; +import java.util.List; import java.util.Set; import java.util.UUID; @@ -202,7 +203,7 @@ public class TestCardRenderDialog extends MageDialog { Player playerOpponent = new StubPlayer("player2", RangeOfInfluence.ALL); game.addPlayer(playerOpponent, deck); - java.util.List cardViews = new ArrayList<>(); + List cardViews = new ArrayList<>(); ///* cardViews.add(createPermanentCard(game, playerYou.getId(), "RNA", "263", 0, 0, 0, false)); // mountain cardViews.add(createPermanentCard(game, playerYou.getId(), "RNA", "185", 0, 0, 0, true)); // Judith, the Scourge Diva diff --git a/Mage.Client/src/main/java/mage/client/game/HelperPanel.java b/Mage.Client/src/main/java/mage/client/game/HelperPanel.java index 20650740b3..af85e5e3b7 100644 --- a/Mage.Client/src/main/java/mage/client/game/HelperPanel.java +++ b/Mage.Client/src/main/java/mage/client/game/HelperPanel.java @@ -14,6 +14,7 @@ import javax.swing.border.EmptyBorder; import java.awt.*; import java.awt.event.*; import java.util.ArrayList; +import java.util.List; import java.util.UUID; import static mage.client.game.FeedbackPanel.FeedbackMode.QUESTION; @@ -308,7 +309,7 @@ public class HelperPanel extends JPanel { this.buttonGrid.setLayout(new FlowLayout(FlowLayout.CENTER, BUTTONS_H_GAP, 0)); this.buttonGrid.setPreferredSize(null); - java.util.List buttons = new ArrayList<>(); + List buttons = new ArrayList<>(); if (this.btnSpecial.isVisible()) { buttons.add(this.btnSpecial); } diff --git a/Mage.Client/src/main/java/mage/client/util/gui/GuiDisplayUtil.java b/Mage.Client/src/main/java/mage/client/util/gui/GuiDisplayUtil.java index 6717d05451..1469aff0e4 100644 --- a/Mage.Client/src/main/java/mage/client/util/gui/GuiDisplayUtil.java +++ b/Mage.Client/src/main/java/mage/client/util/gui/GuiDisplayUtil.java @@ -15,6 +15,7 @@ import org.mage.card.arcane.UI; import javax.swing.*; import java.awt.*; import java.util.ArrayList; +import java.util.List; import java.util.Locale; import static mage.client.dialog.PreferencesDialog.KEY_MAGE_PANEL_LAST_SIZE; @@ -38,7 +39,7 @@ public final class GuiDisplayUtil { this.basicTextLength = basicTextLength; } - public java.util.List getLines() { + public List getLines() { return lines; } diff --git a/Mage.Client/src/main/java/org/mage/card/arcane/TextboxRuleParser.java b/Mage.Client/src/main/java/org/mage/card/arcane/TextboxRuleParser.java index 4a36062f52..e89873a670 100644 --- a/Mage.Client/src/main/java/org/mage/card/arcane/TextboxRuleParser.java +++ b/Mage.Client/src/main/java/org/mage/card/arcane/TextboxRuleParser.java @@ -8,6 +8,7 @@ import java.awt.*; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Deque; +import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; @@ -30,7 +31,7 @@ public final class TextboxRuleParser { // the textbox of a card. public static TextboxRule parse(CardView source, String rule) { // List of regions to apply - java.util.List regions = new ArrayList<>(); + List regions = new ArrayList<>(); // Leveler / loyalty / basic boolean isLeveler = false;