Remove unused marker interface (#10404)

This commit is contained in:
xenohedron 2023-05-29 19:16:04 -04:00 committed by GitHub
parent 8b91600cbf
commit 255c7a9ce7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 15 additions and 28 deletions

View file

@ -10,7 +10,6 @@ import mage.abilities.costs.Cost;
import mage.abilities.costs.common.SacrificeTargetCost; import mage.abilities.costs.common.SacrificeTargetCost;
import mage.abilities.costs.common.TapSourceCost; import mage.abilities.costs.common.TapSourceCost;
import mage.abilities.effects.ContinuousEffectImpl; import mage.abilities.effects.ContinuousEffectImpl;
import mage.abilities.effects.common.continuous.SourceEffect;
import mage.abilities.keyword.*; import mage.abilities.keyword.*;
import mage.cards.CardImpl; import mage.cards.CardImpl;
import mage.cards.CardSetInfo; import mage.cards.CardSetInfo;
@ -53,7 +52,7 @@ public final class Excavator extends CardImpl {
} }
} }
class ExcavatorEffect extends ContinuousEffectImpl implements SourceEffect { class ExcavatorEffect extends ContinuousEffectImpl {
private Abilities<Ability> abilities = new AbilitiesImpl(); private Abilities<Ability> abilities = new AbilitiesImpl();

View file

@ -8,7 +8,6 @@ import mage.abilities.common.SpellCastOpponentTriggeredAbility;
import mage.abilities.condition.common.SourceMatchesFilterCondition; import mage.abilities.condition.common.SourceMatchesFilterCondition;
import mage.abilities.decorator.ConditionalInterveningIfTriggeredAbility; import mage.abilities.decorator.ConditionalInterveningIfTriggeredAbility;
import mage.abilities.effects.ContinuousEffectImpl; import mage.abilities.effects.ContinuousEffectImpl;
import mage.abilities.effects.common.continuous.SourceEffect;
import mage.abilities.keyword.ProtectionAbility; import mage.abilities.keyword.ProtectionAbility;
import mage.cards.CardImpl; import mage.cards.CardImpl;
import mage.cards.CardSetInfo; import mage.cards.CardSetInfo;
@ -46,7 +45,7 @@ public final class OpalTitan extends CardImpl {
} }
} }
class OpalTitanBecomesCreatureEffect extends ContinuousEffectImpl implements SourceEffect { class OpalTitanBecomesCreatureEffect extends ContinuousEffectImpl {
public OpalTitanBecomesCreatureEffect() { public OpalTitanBecomesCreatureEffect() {
super(Duration.WhileOnBattlefield, Outcome.BecomeCreature); super(Duration.WhileOnBattlefield, Outcome.BecomeCreature);

View file

@ -5,7 +5,6 @@ import mage.MageObjectReference;
import mage.abilities.Ability; import mage.abilities.Ability;
import mage.abilities.common.SimpleStaticAbility; import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.effects.ContinuousEffectImpl; import mage.abilities.effects.ContinuousEffectImpl;
import mage.abilities.effects.common.continuous.SourceEffect;
import mage.abilities.keyword.*; import mage.abilities.keyword.*;
import mage.cards.Card; import mage.cards.Card;
import mage.cards.CardImpl; import mage.cards.CardImpl;
@ -49,7 +48,7 @@ public final class Soulflayer extends CardImpl {
} }
} }
class SoulflayerEffect extends ContinuousEffectImpl implements SourceEffect { class SoulflayerEffect extends ContinuousEffectImpl {
private Set<Ability> abilitiesToAdd; private Set<Ability> abilitiesToAdd;
private MageObjectReference objectReference = null; private MageObjectReference objectReference = null;

View file

@ -6,7 +6,6 @@ import mage.abilities.DelayedTriggeredAbility;
import mage.abilities.effects.ContinuousEffectImpl; import mage.abilities.effects.ContinuousEffectImpl;
import mage.abilities.effects.OneShotEffect; import mage.abilities.effects.OneShotEffect;
import mage.abilities.effects.common.SacrificeTargetEffect; import mage.abilities.effects.common.SacrificeTargetEffect;
import mage.abilities.effects.common.continuous.SourceEffect;
import mage.abilities.keyword.EnchantAbility; import mage.abilities.keyword.EnchantAbility;
import mage.cards.Card; import mage.cards.Card;
import mage.constants.*; import mage.constants.*;
@ -63,7 +62,7 @@ public class AnimateDeadTriggeredAbility extends EntersBattlefieldTriggeredAbili
} }
} }
class AnimateDeadReplaceAbilityEffect extends ContinuousEffectImpl implements SourceEffect { class AnimateDeadReplaceAbilityEffect extends ContinuousEffectImpl {
private final boolean becomesAura; private final boolean becomesAura;
private Ability newAbility; private Ability newAbility;

View file

@ -13,7 +13,7 @@ import mage.target.Target;
/** /**
* @author LevelX2 * @author LevelX2
*/ */
public class BecomesAuraSourceEffect extends ContinuousEffectImpl implements SourceEffect { public class BecomesAuraSourceEffect extends ContinuousEffectImpl {
private final Ability newAbility; private final Ability newAbility;
private final Target target; private final Target target;

View file

@ -12,7 +12,7 @@ import mage.game.permanent.token.Token;
/** /**
* @author BetaSteward_at_googlemail.com * @author BetaSteward_at_googlemail.com
*/ */
public class BecomesCreatureSourceEffect extends ContinuousEffectImpl implements SourceEffect { public class BecomesCreatureSourceEffect extends ContinuousEffectImpl {
protected Token token; protected Token token;
protected String theyAreStillType; protected String theyAreStillType;

View file

@ -10,7 +10,7 @@ import mage.game.permanent.Permanent;
/** /**
* @author jeffwadsworth * @author jeffwadsworth
*/ */
public class BecomesEnchantmentSourceEffect extends ContinuousEffectImpl implements SourceEffect { public class BecomesEnchantmentSourceEffect extends ContinuousEffectImpl {
public BecomesEnchantmentSourceEffect() { public BecomesEnchantmentSourceEffect() {
super(Duration.Custom, Layer.TypeChangingEffects_4, SubLayer.NA, Outcome.AddAbility); super(Duration.Custom, Layer.TypeChangingEffects_4, SubLayer.NA, Outcome.AddAbility);

View file

@ -18,7 +18,7 @@ import java.util.*;
* @author LevelX2 * @author LevelX2
*/ */
public class BecomesFaceDownCreatureAllEffect extends ContinuousEffectImpl implements SourceEffect { public class BecomesFaceDownCreatureAllEffect extends ContinuousEffectImpl {
protected Map<UUID, Ability> turnFaceUpAbilityMap = new HashMap<>(); protected Map<UUID, Ability> turnFaceUpAbilityMap = new HashMap<>();
protected FilterPermanent filter; protected FilterPermanent filter;

View file

@ -23,7 +23,7 @@ import java.util.List;
* *
* @author LevelX2 * @author LevelX2
*/ */
public class BecomesFaceDownCreatureEffect extends ContinuousEffectImpl implements SourceEffect { public class BecomesFaceDownCreatureEffect extends ContinuousEffectImpl {
public enum FaceDownType { public enum FaceDownType {
MANIFESTED, MANIFESTED,

View file

@ -17,7 +17,7 @@ import org.apache.log4j.Logger;
/** /**
* @author BetaSteward_at_googlemail.com * @author BetaSteward_at_googlemail.com
*/ */
public class BoostSourceEffect extends ContinuousEffectImpl implements SourceEffect { public class BoostSourceEffect extends ContinuousEffectImpl {
private DynamicValue power; private DynamicValue power;
private DynamicValue toughness; private DynamicValue toughness;
private final boolean lockedIn; private final boolean lockedIn;

View file

@ -14,7 +14,7 @@ import mage.game.permanent.Permanent;
/** /**
* @author BetaSteward_at_googlemail.com * @author BetaSteward_at_googlemail.com
*/ */
public class GainAbilitySourceEffect extends ContinuousEffectImpl implements SourceEffect { public class GainAbilitySourceEffect extends ContinuousEffectImpl {
protected Ability ability; protected Ability ability;
// shall a card gain the ability (otherwise permanent) // shall a card gain the ability (otherwise permanent)

View file

@ -14,7 +14,7 @@ import mage.game.permanent.Permanent;
/** /**
* @author TheElk801 * @author TheElk801
*/ */
public class GainClassAbilitySourceEffect extends ContinuousEffectImpl implements SourceEffect { public class GainClassAbilitySourceEffect extends ContinuousEffectImpl {
private final Ability ability; private final Ability ability;
private final int level; private final int level;

View file

@ -18,7 +18,7 @@ import mage.game.Game;
* @author LevelX2 * @author LevelX2
*/ */
public class GainSuspendEffect extends ContinuousEffectImpl implements SourceEffect { public class GainSuspendEffect extends ContinuousEffectImpl {
MageObjectReference mor; MageObjectReference mor;

View file

@ -11,7 +11,7 @@ import mage.util.CardUtil;
/** /**
* @author LevelX2 * @author LevelX2
*/ */
public class LoseCreatureTypeSourceEffect extends ContinuousEffectImpl implements SourceEffect { public class LoseCreatureTypeSourceEffect extends ContinuousEffectImpl {
private final DynamicValue dynamicValue; private final DynamicValue dynamicValue;
private final int lessThan; private final int lessThan;

View file

@ -1,9 +0,0 @@
package mage.abilities.effects.common.continuous;
/**
* Marker interface
*
* @author magenoxx_at_gmail.com
*/
public interface SourceEffect {
}