SSR: remove unused and incomplete copy constructor

This commit is contained in:
Bas Leijdekkers
2017-12-04 20:30:59 +01:00
parent 0e202d3ca2
commit 77e7717ccc
@@ -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;
}