Skip to content

Conversation

@timtebeek
Copy link
Member

Quite surprised we didn't mark these before; we only looked at interfaces. it seems.

Copy link
Contributor

@Jenson3210 Jenson3210 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great to see that it can be fixed with few lines of code!

@github-project-automation github-project-automation bot moved this from In Progress to Ready to Review in OpenRewrite May 9, 2025
@timtebeek timtebeek merged commit c22cfd1 into main May 9, 2025
2 checks passed
@timtebeek timtebeek deleted the methods-overridden-from-classes branch May 9, 2025 21:40
@github-project-automation github-project-automation bot moved this from Ready to Review to Done in OpenRewrite May 9, 2025
timtebeek added a commit to openrewrite/rewrite-static-analysis that referenced this pull request May 10, 2025
* UnnecessaryThrows should not change API for protected methods

For apache/maven#2291
Needs openrewrite/rewrite#5412

* Adjust logic following review
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants