Skip to content

Drop RetainStrictnessWarn; replaced with #623#625

Merged
timtebeek merged 1 commit intomainfrom
drop-RetainStrictnessWarn
Oct 30, 2024
Merged

Drop RetainStrictnessWarn; replaced with #623#625
timtebeek merged 1 commit intomainfrom
drop-RetainStrictnessWarn

Conversation

@timtebeek
Copy link
Copy Markdown
Member

What's your motivation?

Any additional context

It had been quite unclear when these defaults changed, and it turns out to depend not on a version number, but how the API was used. So we now no longer need to unconditionally add this annotation, and instead can rely on the logic in src/main/java/org/openrewrite/java/testing/junit5/MockitoJUnitToMockitoExtension.java

@timtebeek timtebeek self-assigned this Oct 30, 2024
@timtebeek timtebeek added the recipe Recipe request label Oct 30, 2024
@timtebeek timtebeek merged commit 6820b1b into main Oct 30, 2024
@timtebeek timtebeek deleted the drop-RetainStrictnessWarn branch October 30, 2024 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

recipe Recipe request

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant