diff --git a/platform/structuralsearch/source/com/intellij/structuralsearch/impl/matcher/handlers/SubstitutionHandler.java b/platform/structuralsearch/source/com/intellij/structuralsearch/impl/matcher/handlers/SubstitutionHandler.java index 3ea15c252613..13119dc514b2 100644 --- a/platform/structuralsearch/source/com/intellij/structuralsearch/impl/matcher/handlers/SubstitutionHandler.java +++ b/platform/structuralsearch/source/com/intellij/structuralsearch/impl/matcher/handlers/SubstitutionHandler.java @@ -57,8 +57,7 @@ public class SubstitutionHandler extends MatchingHandler { } }; - public SubstitutionHandler(final String name, final boolean target, int minOccurs, - int maxOccurs, boolean greedy) { + public SubstitutionHandler(String name, boolean target, int minOccurs, int maxOccurs, boolean greedy) { this.name = name; this.maxOccurs = maxOccurs; this.minOccurs = minOccurs; @@ -66,11 +65,6 @@ public class SubstitutionHandler extends MatchingHandler { this.greedy = greedy; } - public SubstitutionHandler(final SubstitutionHandler substitutionHandler) { - this(substitutionHandler.getName(),substitutionHandler.isTarget(), substitutionHandler.getMinOccurs(), - substitutionHandler.getMaxOccurs(), substitutionHandler.greedy); - } - public boolean isSubtype() { return subtype; }