Fix more double semicolons in java code

This commit is contained in:
Alex W. Jackson 2022-02-25 10:08:18 -05:00
parent 38f68911b1
commit 2025bca358
4 changed files with 4 additions and 4 deletions

View file

@ -66,7 +66,7 @@ class AshesOfTheFallenEffect extends ContinuousEffectImpl {
} }
} }
} else { } else {
discard();; discard();
} }
return true; return true;
} }

View file

@ -1550,7 +1550,7 @@ public class VerifyCardDataTest {
.replace("{this}", card.getName()) .replace("{this}", card.getName())
//.replace("<i>", "") //.replace("<i>", "")
//.replace("</i>", "") //.replace("</i>", "")
.replace("&mdash;", "");; .replace("&mdash;", "");
boolean found = false; boolean found = false;
for (String refRule : refRules) { for (String refRule : refRules) {

View file

@ -69,7 +69,7 @@ public class PreventDamageToAttachedEffect extends PreventionEffectImpl {
} }
sb.append("damage to "); sb.append("damage to ");
sb.append(attachmentType.verb()); sb.append(attachmentType.verb());
sb.append(" creature, prevent ").append(amountToPrevent);; sb.append(" creature, prevent ").append(amountToPrevent);
sb.append(" of that damage"); sb.append(" of that damage");
} }
return sb.toString(); return sb.toString();

View file

@ -110,7 +110,7 @@ public class SpellsCostReductionControllerEffect extends CostModificationEffectI
public boolean applies(Ability abilityToModify, Ability source, Game game) { public boolean applies(Ability abilityToModify, Ability source, Game game) {
if (abilityToModify instanceof SpellAbility) { if (abilityToModify instanceof SpellAbility) {
if (abilityToModify.isControlledBy(source.getControllerId())) { if (abilityToModify.isControlledBy(source.getControllerId())) {
Card spellCard = ((SpellAbility) abilityToModify).getCharacteristics(game);; Card spellCard = ((SpellAbility) abilityToModify).getCharacteristics(game);
if (spellCard != null) { if (spellCard != null) {
return this.filter.match(spellCard, source.getSourceId(), source.getControllerId(), game); return this.filter.match(spellCard, source.getSourceId(), source.getControllerId(), game);
} }