From 2025bca35801dd2232c4938ffd76995d96b40a36 Mon Sep 17 00:00:00 2001 From: "Alex W. Jackson" Date: Fri, 25 Feb 2022 10:08:18 -0500 Subject: [PATCH] Fix more double semicolons in java code --- Mage.Sets/src/mage/cards/a/AshesOfTheFallen.java | 2 +- Mage.Verify/src/test/java/mage/verify/VerifyCardDataTest.java | 2 +- .../abilities/effects/common/PreventDamageToAttachedEffect.java | 2 +- .../common/cost/SpellsCostReductionControllerEffect.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Mage.Sets/src/mage/cards/a/AshesOfTheFallen.java b/Mage.Sets/src/mage/cards/a/AshesOfTheFallen.java index 0dfd2a8290..2f90d50589 100644 --- a/Mage.Sets/src/mage/cards/a/AshesOfTheFallen.java +++ b/Mage.Sets/src/mage/cards/a/AshesOfTheFallen.java @@ -66,7 +66,7 @@ class AshesOfTheFallenEffect extends ContinuousEffectImpl { } } } else { - discard();; + discard(); } return true; } diff --git a/Mage.Verify/src/test/java/mage/verify/VerifyCardDataTest.java b/Mage.Verify/src/test/java/mage/verify/VerifyCardDataTest.java index c26b756402..3d2b0189a2 100644 --- a/Mage.Verify/src/test/java/mage/verify/VerifyCardDataTest.java +++ b/Mage.Verify/src/test/java/mage/verify/VerifyCardDataTest.java @@ -1550,7 +1550,7 @@ public class VerifyCardDataTest { .replace("{this}", card.getName()) //.replace("", "") //.replace("", "") - .replace("—", "—");; + .replace("—", "—"); boolean found = false; for (String refRule : refRules) { diff --git a/Mage/src/main/java/mage/abilities/effects/common/PreventDamageToAttachedEffect.java b/Mage/src/main/java/mage/abilities/effects/common/PreventDamageToAttachedEffect.java index d696229bc9..b7e5f8503b 100644 --- a/Mage/src/main/java/mage/abilities/effects/common/PreventDamageToAttachedEffect.java +++ b/Mage/src/main/java/mage/abilities/effects/common/PreventDamageToAttachedEffect.java @@ -69,7 +69,7 @@ public class PreventDamageToAttachedEffect extends PreventionEffectImpl { } sb.append("damage to "); sb.append(attachmentType.verb()); - sb.append(" creature, prevent ").append(amountToPrevent);; + sb.append(" creature, prevent ").append(amountToPrevent); sb.append(" of that damage"); } return sb.toString(); diff --git a/Mage/src/main/java/mage/abilities/effects/common/cost/SpellsCostReductionControllerEffect.java b/Mage/src/main/java/mage/abilities/effects/common/cost/SpellsCostReductionControllerEffect.java index b2367505fb..1f73f4cbff 100644 --- a/Mage/src/main/java/mage/abilities/effects/common/cost/SpellsCostReductionControllerEffect.java +++ b/Mage/src/main/java/mage/abilities/effects/common/cost/SpellsCostReductionControllerEffect.java @@ -110,7 +110,7 @@ public class SpellsCostReductionControllerEffect extends CostModificationEffectI public boolean applies(Ability abilityToModify, Ability source, Game game) { if (abilityToModify instanceof SpellAbility) { if (abilityToModify.isControlledBy(source.getControllerId())) { - Card spellCard = ((SpellAbility) abilityToModify).getCharacteristics(game);; + Card spellCard = ((SpellAbility) abilityToModify).getCharacteristics(game); if (spellCard != null) { return this.filter.match(spellCard, source.getSourceId(), source.getControllerId(), game); }