Skip to content

Conversation

@lredor
Copy link
Contributor

@lredor lredor commented Oct 26, 2025

In the Sirius codebase, I had identified other errors of the same kind for which I hadn’t yet created an issue. I’ve added the corresponding cases to the NoGuavaPredicateTest tests.

In the Sirius codebase, I had identified other errors of the same kind
for which I hadn’t yet created an issue. I’ve added the corresponding
cases to the NoGuavaPredicateTest tests.
@github-project-automation github-project-automation bot moved this to In Progress in OpenRewrite Oct 26, 2025
@timtebeek timtebeek merged commit dba3f1b into openrewrite:only-convert-guava-predicate-when-not-used-in-method Oct 26, 2025
@github-project-automation github-project-automation bot moved this from In Progress to Done in OpenRewrite Oct 26, 2025
timtebeek added a commit that referenced this pull request Oct 26, 2025
* Only convert Guava Predicate when not used as method argument

* Add more tests (#904)

In the Sirius codebase, I had identified other errors of the same kind
for which I hadn’t yet created an issue. I’ve added the corresponding
cases to the NoGuavaPredicateTest tests.

* Do convert `Predicates.not` to `java.util.function.Predicate.not`

* Restore original test

* Fix formatting

---------

Co-authored-by: Laurent Redor <laurent.redor@obeo.fr>
@lredor lredor deleted the lredor/only-convert-guava-predicate-when-not-used-in-method branch October 29, 2025 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants