From 782518f3360f561c11715b92c7081d1ac24d794c Mon Sep 17 00:00:00 2001 From: North Date: Tue, 3 Jun 2014 12:42:55 +0300 Subject: [PATCH] [refactor] removed generic parameter from PermanentImpl --- Mage/src/mage/game/permanent/PermanentCard.java | 2 +- Mage/src/mage/game/permanent/PermanentImpl.java | 5 ++--- Mage/src/mage/game/permanent/PermanentToken.java | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Mage/src/mage/game/permanent/PermanentCard.java b/Mage/src/mage/game/permanent/PermanentCard.java index 1950f2f468..aea4010a2f 100644 --- a/Mage/src/mage/game/permanent/PermanentCard.java +++ b/Mage/src/mage/game/permanent/PermanentCard.java @@ -43,7 +43,7 @@ import mage.game.command.Commander; /** * @author BetaSteward_at_googlemail.com */ -public class PermanentCard extends PermanentImpl { +public class PermanentCard extends PermanentImpl { protected int maxLevelCounters; protected Card card; diff --git a/Mage/src/mage/game/permanent/PermanentImpl.java b/Mage/src/mage/game/permanent/PermanentImpl.java index 5a176e4317..4300e33da3 100644 --- a/Mage/src/mage/game/permanent/PermanentImpl.java +++ b/Mage/src/mage/game/permanent/PermanentImpl.java @@ -70,9 +70,8 @@ import mage.players.Player; /** * @author BetaSteward_at_googlemail.com - * @param */ -public abstract class PermanentImpl> extends CardImpl implements Permanent { +public abstract class PermanentImpl extends CardImpl implements Permanent { protected boolean tapped; protected boolean flipped; @@ -118,7 +117,7 @@ public abstract class PermanentImpl> extends CardImpl this.controllerId = controllerId; } - public PermanentImpl(final PermanentImpl permanent) { + public PermanentImpl(final PermanentImpl permanent) { super(permanent); this.tapped = permanent.tapped; this.flipped = permanent.flipped; diff --git a/Mage/src/mage/game/permanent/PermanentToken.java b/Mage/src/mage/game/permanent/PermanentToken.java index 8735cb10f5..a50b962e25 100644 --- a/Mage/src/mage/game/permanent/PermanentToken.java +++ b/Mage/src/mage/game/permanent/PermanentToken.java @@ -41,7 +41,7 @@ import mage.game.permanent.token.Token; * * @author BetaSteward_at_googlemail.com */ -public class PermanentToken extends PermanentImpl { +public class PermanentToken extends PermanentImpl { protected Token token;