diff --git a/jetty-util/src/main/java/org/eclipse/jetty/util/IncludeExcludeSet.java b/jetty-util/src/main/java/org/eclipse/jetty/util/IncludeExcludeSet.java index dcd9fde1d14..622587f471d 100644 --- a/jetty-util/src/main/java/org/eclipse/jetty/util/IncludeExcludeSet.java +++ b/jetty-util/src/main/java/org/eclipse/jetty/util/IncludeExcludeSet.java @@ -67,10 +67,10 @@ public class IncludeExcludeSet
implements Predicate
- * If the {@link Set} class also implements {@link Predicate}, then that Predicate is
- * used to match against the set, otherwise a simple {@link Set#contains(Object)} test is used.
- * @param setClass The type of {@link Set} to using internally
+ * @param setClass The type of {@link Set} to using internally to hold patterns. Two instances will be created.
+ * one for include patterns and one for exclude patters. If the class is also a {@link Predicate},
+ * then it is also used as the item test for the set, otherwise a {@link SetContainsPredicate} instance
+ * is created.
* @param implements Predicate