remove methods that only call their super equivalents

This commit is contained in:
Ingmar Goudt 2019-01-07 10:06:43 +01:00
parent bcbd1e87a6
commit cbfdcd12c1
10 changed files with 0 additions and 52 deletions

View file

@ -94,8 +94,4 @@ class BattletideAlchemistEffect extends PreventionEffectImpl {
return event.getType() == EventType.DAMAGE_PLAYER; return event.getType() == EventType.DAMAGE_PLAYER;
} }
@Override
public boolean applies(GameEvent event, Ability source, Game game) {
return super.applies(event, source, game);
}
} }

View file

@ -226,11 +226,6 @@ class CyclopeanTombCounterWatcher extends Watcher {
} }
} }
@Override
public void reset() {
super.reset();
}
public Set<MageObjectReference> landMiredByCyclopeanTombInstance(MageObjectReference mor, Game game) { public Set<MageObjectReference> landMiredByCyclopeanTombInstance(MageObjectReference mor, Game game) {
if (counterData.containsKey(mor)) { if (counterData.containsKey(mor)) {
return counterData.get(mor); return counterData.get(mor);

View file

@ -98,10 +98,6 @@ class DreadWightTriggeredAbility extends TriggeredAbilityImpl {
return false; return false;
} }
@Override
public String getRule() {
return super.getRule();
}
} }
class DreadWightEffect extends OneShotEffect { class DreadWightEffect extends OneShotEffect {

View file

@ -88,11 +88,6 @@ class GuildmagesForumWatcher extends Watcher {
} }
} }
@Override
public void reset() {
super.reset();
}
} }
class GuildmagesForumEntersBattlefieldEffect extends ReplacementEffectImpl { class GuildmagesForumEntersBattlefieldEffect extends ReplacementEffectImpl {

View file

@ -94,11 +94,6 @@ class MartyrdomActivatedAbility extends ActivatedAbilityImpl {
this.caster = ability.caster; this.caster = ability.caster;
} }
@Override
public Effects getEffects(Game game, EffectType effectType) {
return super.getEffects(game, effectType);
}
@Override @Override
public ActivationStatus canActivate(UUID playerId, Game game) { public ActivationStatus canActivate(UUID playerId, Game game) {
if (playerId.equals(caster)) { if (playerId.equals(caster)) {

View file

@ -77,11 +77,6 @@ class MerseineActivatedAbility extends SimpleActivatedAbility {
super(ability); super(ability);
} }
@Override
public Effects getEffects(Game game, EffectType effectType) {
return super.getEffects(game, effectType);
}
@Override @Override
public ActivationStatus canActivate(UUID playerId, Game game) { public ActivationStatus canActivate(UUID playerId, Game game) {
Permanent sourcePermanent = game.getBattlefield().getPermanent(this.getSourceId()); Permanent sourcePermanent = game.getBattlefield().getPermanent(this.getSourceId());

View file

@ -59,11 +59,6 @@ class NightcreepLandEffect extends BecomesBasicLandTargetEffect {
this.setTargetPointer(new FixedTargets(targets, game)); this.setTargetPointer(new FixedTargets(targets, game));
} }
@Override
public boolean apply(Layer layer, SubLayer sublayer, Ability source, Game game) {
return super.apply(layer, sublayer, source, game);
}
@Override @Override
public NightcreepLandEffect copy() { public NightcreepLandEffect copy() {
return new NightcreepLandEffect(this); return new NightcreepLandEffect(this);
@ -88,11 +83,6 @@ class NightcreepCreatureEffect extends BecomesColorTargetEffect {
this.setTargetPointer(new FixedTargets(targets, game)); this.setTargetPointer(new FixedTargets(targets, game));
} }
@Override
public boolean apply(Layer layer, SubLayer sublayer, Ability source, Game game) {
return super.apply(layer, sublayer, source, game);
}
@Override @Override
public NightcreepCreatureEffect copy() { public NightcreepCreatureEffect copy() {
return new NightcreepCreatureEffect(this); return new NightcreepCreatureEffect(this);

View file

@ -98,8 +98,4 @@ class PatriciansScornWatcher extends Watcher {
} }
} }
@Override
public void reset() {
super.reset();
}
} }

View file

@ -64,11 +64,6 @@ class TargetControlledPermanentWithCMCGreaterOrLessThanOpponentPermanent extends
super(target); super(target);
} }
@Override
public boolean canTarget(UUID controllerId, UUID id, Ability source, Game game) {
return super.canTarget(controllerId, id, source, game);
}
@Override @Override
public Set<UUID> possibleTargets(UUID sourceId, UUID sourceControllerId, Game game) { public Set<UUID> possibleTargets(UUID sourceId, UUID sourceControllerId, Game game) {
Set<UUID> possibleTargets = new HashSet<>(); Set<UUID> possibleTargets = new HashSet<>();

View file

@ -69,11 +69,6 @@ class TargetControlledCreatureWithPowerGreaterOrLessThanOpponentPermanent extend
super(target); super(target);
} }
@Override
public boolean canTarget(UUID controllerId, UUID id, Ability source, Game game) {
return super.canTarget(controllerId, id, source, game);
}
@Override @Override
public Set<UUID> possibleTargets(UUID sourceId, UUID sourceControllerId, Game game) { public Set<UUID> possibleTargets(UUID sourceId, UUID sourceControllerId, Game game) {
Set<UUID> possibleTargets = new HashSet<>(); Set<UUID> possibleTargets = new HashSet<>();