[refactor] removed generic parameter from PermanentImpl

This commit is contained in:
North 2014-06-03 12:42:55 +03:00
parent bb7de19d7b
commit 782518f336
3 changed files with 4 additions and 5 deletions

View file

@ -43,7 +43,7 @@ import mage.game.command.Commander;
/**
* @author BetaSteward_at_googlemail.com
*/
public class PermanentCard extends PermanentImpl<PermanentCard> {
public class PermanentCard extends PermanentImpl {
protected int maxLevelCounters;
protected Card card;

View file

@ -70,9 +70,8 @@ import mage.players.Player;
/**
* @author BetaSteward_at_googlemail.com
* @param <T>
*/
public abstract class PermanentImpl<T extends PermanentImpl<T>> 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<T extends PermanentImpl<T>> extends CardImpl
this.controllerId = controllerId;
}
public PermanentImpl(final PermanentImpl<T> permanent) {
public PermanentImpl(final PermanentImpl permanent) {
super(permanent);
this.tapped = permanent.tapped;
this.flipped = permanent.flipped;

View file

@ -41,7 +41,7 @@ import mage.game.permanent.token.Token;
*
* @author BetaSteward_at_googlemail.com
*/
public class PermanentToken extends PermanentImpl<PermanentToken> {
public class PermanentToken extends PermanentImpl {
protected Token token;