Skip to content

Question Regarding the Removal of Object.finalize() Method recipes #4604

Closed Answered by timtebeek
yusasak1 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @yusasak1 ; thanks for reaching out. Wasn't as aware that we had two recipes for method definitions and method invocations, nor that they are not part of our Java migrations. It might have been an oversight in part, but it's also perhaps not quite safe to remove in all cases just yet, as it's merely deprecated for now, but not yet removed from any current Java version. Once that roles around we'll be sure to include it.

Do note that NoFinalizer is already part of the Common Static Analysis issues that we recommend folks run to clear out Sonar, Checkstyle and PMD style issues:
https://github.com/openrewrite/rewrite-static-analysis/blob/b19a74544aab9193c1150c7bf441cff3d2fc02c4/src/main/r…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@yusasak1
Comment options

Answer selected by timtebeek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants