[
https://issues.apache.org/jira/browse/OAK-8874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17026643#comment-17026643
]
Julian Reschke commented on OAK-8874:
-------------------------------------
So the revised idea was to implement both Gauav 15's {{Predicate}} and the
variant from the JDK. This adds {{test()}} methods, and the {{apply()}} methods
would delegate (and be deprecated, maybe logging).
This is simple, but there's one catch. {{Contraints.valueConstraint()}} is a
static method that returns a {{Predicate<Value>}}; so the signature can't be
both, unless we introduce something like {{Constraint<Value}} which would
temporarily implement both {{Predicate}} APIs.
> deprecate use of Guava Predicate class in oak-core API
> ------------------------------------------------------
>
> Key: OAK-8874
> URL: https://issues.apache.org/jira/browse/OAK-8874
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: core
> Environment: Remove
> Reporter: Julian Reschke
> Assignee: Julian Reschke
> Priority: Major
> Labels: candidate_oak_1_10
> Fix For: 1.26.0
>
> Attachments: OAK-8874.diff
>
>
> ...offering JDK 8 Predicate API in addition.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)