mirror of
https://github.com/magefree/mage.git
synced 2026-01-25 20:59:14 -08:00
[refactor] removed constructor from FitlerControlledPermanent
This commit is contained in:
parent
cf8c69e000
commit
26676b9ab5
5 changed files with 24 additions and 15 deletions
|
|
@ -30,7 +30,6 @@ package mage.filter.common;
|
|||
|
||||
import mage.constants.TargetController;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.filter.predicate.mageobject.SubtypePredicate;
|
||||
import mage.filter.predicate.permanent.ControllerPredicate;
|
||||
|
||||
/**
|
||||
|
|
@ -48,13 +47,6 @@ public class FilterControlledPermanent extends FilterPermanent {
|
|||
this.add(new ControllerPredicate(TargetController.YOU));
|
||||
}
|
||||
|
||||
public FilterControlledPermanent(String subtype, String name) {
|
||||
super(name);
|
||||
this.add(new SubtypePredicate(subtype));
|
||||
this.add(new ControllerPredicate(TargetController.YOU));
|
||||
}
|
||||
|
||||
|
||||
public FilterControlledPermanent(final FilterControlledPermanent filter) {
|
||||
super(filter);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue