remove redundant this.targetName = filter.getMessage();

not necessary when same code exists in superclass constructor
This commit is contained in:
Neil Gentleman 2016-07-17 14:07:32 -07:00
parent 6ac8c8e251
commit 43b0d4ef97
20 changed files with 0 additions and 21 deletions

View file

@ -25,12 +25,10 @@ public class TargetOpponentsChoicePermanent extends TargetPermanent {
public TargetOpponentsChoicePermanent(FilterPermanent filter) {
super(1, 1, filter, false);
this.targetName = filter.getMessage();
}
public TargetOpponentsChoicePermanent(int minNumTargets, int maxNumTargets, FilterPermanent filter, boolean notTarget, boolean dontTargetPlayer) {
super(minNumTargets, maxNumTargets, filter, notTarget);
this.targetName = filter.getMessage();
this.dontTargetPlayer = dontTargetPlayer;
}