Removing Unnecessary StringBuilder (#9064)

This commit is contained in:
DeepCrimson 2022-06-03 12:31:37 -07:00 committed by GitHub
parent bc5fd9d9dc
commit ef5bd74f27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {