From 77e7717ccc98722008141b400409c13e54e4ff1c Mon Sep 17 00:00:00 2001 From: Bas Leijdekkers Date: Mon, 4 Dec 2017 17:08:08 +0100 Subject: [PATCH] SSR: remove unused and incomplete copy constructor --- .../impl/matcher/handlers/SubstitutionHandler.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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; }