From 688c25f34bd7fb12fbdd79010c4d1f4ccfa1cb20 Mon Sep 17 00:00:00 2001 From: JRHerlehy Date: Fri, 20 Feb 2015 04:08:00 -0800 Subject: [PATCH] Formatting Tetsuo Umezawa Clean up text formatting in code file --- .../src/mage/sets/legends/TetsuoUmezawa.java | 27 +++++++------------ 1 file changed, 10 insertions(+), 17 deletions(-) diff --git a/Mage.Sets/src/mage/sets/legends/TetsuoUmezawa.java b/Mage.Sets/src/mage/sets/legends/TetsuoUmezawa.java index f4d614011fa..31e1b4b7ab1 100644 --- a/Mage.Sets/src/mage/sets/legends/TetsuoUmezawa.java +++ b/Mage.Sets/src/mage/sets/legends/TetsuoUmezawa.java @@ -57,23 +57,19 @@ import mage.target.common.TargetCreaturePermanent; * * @author JRHerlehy */ +public class TetsuoUmezawa extends CardImpl { -public class TetsuoUmezawa extends CardImpl -{ private static final FilterCreaturePermanent creatureFilter = new FilterCreaturePermanent("tapped or blocking creature"); - static - { + static { creatureFilter.add(Predicates.or( new TappedPredicate(), new BlockingPredicate())); } - public TetsuoUmezawa(UUID ownerId) - { - super(ownerId, 302, "Tetsuo Umezawa", Rarity.RARE, new CardType[] - { - CardType.CREATURE + public TetsuoUmezawa(UUID ownerId) { + super(ownerId, 302, "Tetsuo Umezawa", Rarity.RARE, new CardType[]{ + CardType.CREATURE }, "{U}{B}{R}"); this.expansionSetCode = "LEG"; this.supertype.add("Legendary"); @@ -91,14 +87,12 @@ public class TetsuoUmezawa extends CardImpl this.addAbility(ability); } - public TetsuoUmezawa(final TetsuoUmezawa card) - { + public TetsuoUmezawa(final TetsuoUmezawa card) { super(card); } @Override - public TetsuoUmezawa copy() - { + public TetsuoUmezawa copy() { return new TetsuoUmezawa(this); } } @@ -139,12 +133,11 @@ class TetsuoUmezawaEffect extends ContinuousRuleModifiyingEffectImpl { Card targetCard = game.getCard(event.getTargetId()); StackObject stackObject = (StackObject) game.getStack().getStackObject(event.getSourceId()); if (targetCard != null && stackObject != null && targetCard.getId().equals(source.getSourceId())) { - if (stackObject.getSubtype().contains("Aura")) - { - return true; + if (stackObject.getSubtype().contains("Aura")) { + return true; } } } return false; } -} \ No newline at end of file +}