Hi there!

We are (finally) in the process of converting a project to
commons-collections4. Unfortunately, we have a few APIs that return
commons-collections3's Predicates.

CC4 deprecates the custom Predicate class (good!), and these just extend
JDK Predicates
(https://commons.apache.org/proper/commons-collections/apidocs/org/apache/commons/collections4/Predicate.html).

However, PredicateUtils (for instance
https://commons.apache.org/proper/commons-collections/apidocs/org/apache/commons/collections4/PredicateUtils.html#anyPredicate(java.util.Collection))
still require use of commons-collections4 Predicates. Is this an
oversight, or am I missing something here? Shouldn't these utilities
work with JDK Predicates as well?

Best regards, Julian

PS: let me know if I should move this over to Jira.




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to