From ef5bd74f27d469bdbf42904662179c09a83d874d Mon Sep 17 00:00:00 2001 From: DeepCrimson <98864333+DeepCrimson@users.noreply.github.com> Date: Fri, 3 Jun 2022 12:31:37 -0700 Subject: [PATCH] Removing Unnecessary StringBuilder (#9064) --- .../mage/test/serverside/base/impl/CardTestPlayerAPIImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage.Tests/src/test/java/org/mage/test/serverside/base/impl/CardTestPlayerAPIImpl.java b/Mage.Tests/src/test/java/org/mage/test/serverside/base/impl/CardTestPlayerAPIImpl.java index 796099e797..6e5f305af4 100644 --- a/Mage.Tests/src/test/java/org/mage/test/serverside/base/impl/CardTestPlayerAPIImpl.java +++ b/Mage.Tests/src/test/java/org/mage/test/serverside/base/impl/CardTestPlayerAPIImpl.java @@ -1963,7 +1963,7 @@ public abstract class CardTestPlayerAPIImpl extends MageTestPlayerBase implement //Assert.assertNotEquals("", attacker); assertAliaseSupportInActivateCommand(attacker, false); // it uses old special notation like card_name:index assertAliaseSupportInActivateCommand(planeswalker, false); - addPlayerAction(player, turnNum, PhaseStep.DECLARE_ATTACKERS, new StringBuilder("attack:").append(attacker).append("$planeswalker=").append(planeswalker).toString()); + addPlayerAction(player, turnNum, PhaseStep.DECLARE_ATTACKERS, "attack:" + attacker + "$planeswalker=" + planeswalker); } public void attackSkip(int turnNum, TestPlayer player) {