diff --git a/src/changes/changes.xml b/src/changes/changes.xml index c9817bcc65..d177eab656 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -31,6 +31,7 @@ PatriciaTrie constructor reuse the stateless singleton StringKeyAnalyzer.INSTANCE. Deprecate StringKeyAnalyzer.StringKeyAnalyzer() in favor of StringKeyAnalyzer.INSTANCE. [Functional] FunctorUtils.validate(Closure...) is now FunctorUtils.validate(Consumer...). + [Functional] FunctorUtils.validate(Predicate...) is now FunctorUtils.validate(java.util.function.Predicate...). Update bloom filter documentation #508. diff --git a/src/main/java/org/apache/commons/collections4/functors/FunctorUtils.java b/src/main/java/org/apache/commons/collections4/functors/FunctorUtils.java index 9f970cd1f1..2a01705eac 100644 --- a/src/main/java/org/apache/commons/collections4/functors/FunctorUtils.java +++ b/src/main/java/org/apache/commons/collections4/functors/FunctorUtils.java @@ -164,7 +164,7 @@ static Predicate[] validate(final Collection... predicates) { + static void validate(final java.util.function.Predicate... predicates) { Objects.requireNonNull(predicates, "predicates"); for (int i = 0; i < predicates.length; i++) { if (predicates[i] == null) {