diff --git a/src/main/java/org/jsoup/select/CombiningEvaluator.java b/src/main/java/org/jsoup/select/CombiningEvaluator.java index 5a4f599947..9358c3c29d 100644 --- a/src/main/java/org/jsoup/select/CombiningEvaluator.java +++ b/src/main/java/org/jsoup/select/CombiningEvaluator.java @@ -40,11 +40,11 @@ void updateNumEvaluators() { } public static final class And extends CombiningEvaluator { - And(Collection evaluators) { + public And(Collection evaluators) { super(evaluators); } - And(Evaluator... evaluators) { + public And(Evaluator... evaluators) { this(Arrays.asList(evaluators)); } @@ -69,7 +69,7 @@ public static final class Or extends CombiningEvaluator { * Create a new Or evaluator. The initial evaluators are ANDed together and used as the first clause of the OR. * @param evaluators initial OR clause (these are wrapped into an AND evaluator). */ - Or(Collection evaluators) { + public Or(Collection evaluators) { super(); if (num > 1) this.evaluators.add(new And(evaluators)); @@ -78,9 +78,9 @@ public static final class Or extends CombiningEvaluator { updateNumEvaluators(); } - Or(Evaluator... evaluators) { this(Arrays.asList(evaluators)); } + public Or(Evaluator... evaluators) { this(Arrays.asList(evaluators)); } - Or() { + public Or() { super(); }