Skip to content
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

ChangeMethodTargetToStatic should also change instance usage #4201

Merged

Conversation

timtebeek
Copy link
Contributor

For openrewrite/rewrite-migrate-java#477

Previously any cases where a static method was called on an instance (improper use) then ChangeMethodTargetToStatic would not make any changes. With this change we now also flush those out.

@timtebeek timtebeek added the enhancement New feature or request label May 19, 2024
@timtebeek timtebeek self-assigned this May 19, 2024
@timtebeek timtebeek merged commit ea566dc into main May 19, 2024
1 check passed
@timtebeek timtebeek deleted the allow-ChangeMethodTargetToStatic-to-change-instance-usage branch May 19, 2024 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

1 participant