From f438b76b3152c6e234a7ae8aad818f875ed78aea Mon Sep 17 00:00:00 2001 From: Neil Gentleman Date: Sat, 15 Oct 2016 17:45:04 -0700 Subject: [PATCH] remove deprecated, unused, unimplemented method --- Mage/src/main/java/mage/game/permanent/Permanent.java | 3 --- Mage/src/main/java/mage/game/permanent/PermanentImpl.java | 6 ------ 2 files changed, 9 deletions(-) diff --git a/Mage/src/main/java/mage/game/permanent/Permanent.java b/Mage/src/main/java/mage/game/permanent/Permanent.java index fe6f726433..e97a659107 100644 --- a/Mage/src/main/java/mage/game/permanent/Permanent.java +++ b/Mage/src/main/java/mage/game/permanent/Permanent.java @@ -161,9 +161,6 @@ public interface Permanent extends Card, Controllable { String getValue(GameState state); - @Deprecated - void addAbility(Ability ability); - @Deprecated void addAbility(Ability ability, Game game); diff --git a/Mage/src/main/java/mage/game/permanent/PermanentImpl.java b/Mage/src/main/java/mage/game/permanent/PermanentImpl.java index 1723622a75..36e9cd4b98 100644 --- a/Mage/src/main/java/mage/game/permanent/PermanentImpl.java +++ b/Mage/src/main/java/mage/game/permanent/PermanentImpl.java @@ -265,12 +265,6 @@ public abstract class PermanentImpl extends CardImpl implements Permanent { return abilities; } - @Override - @Deprecated - public void addAbility(Ability ability) { - throw new UnsupportedOperationException("Unsupported operation: use addAbility(Ability ability, Game game) instead"); - } - /** * * @param ability