-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace Predicate and Iterables with Cactoos equivalent #471
Comments
@yegor256 please, pay attention to this issue |
@filfreire I would kindly ask you to submit one problem per ticket, to avoid confusion and noise. Here, I will answer the first question only. You should use final boolean granted;
// ...
final Identity identity = this.identity();
granted = new Or(
r -> !identity.equals(Identity.ANONYMOUS) && r.trim().equals(identity.urn()),
readers
).value(); |
Oops! There is no order for job |
Oops! Job |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm working on yegor256/rultor#1199
How do we replace with the equivalent Cactoos classes the following Guava classes/calls:
RqUser.java (
Iterables.any(...)
andPredicate
):(edit: removed second question into new issue #476)
The text was updated successfully, but these errors were encountered: