-
Notifications
You must be signed in to change notification settings - Fork 82
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
Remove inputstream finalizer #245
Remove inputstream finalizer #245
Conversation
…-java into remove-inputstream-finalizer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good, thanks! A question and suggestion before we merge.
src/main/java/org/openrewrite/java/migrate/io/RemoveFinalizeFromFileStream.java
Outdated
Show resolved
Hide resolved
src/main/java/org/openrewrite/java/migrate/io/RemoveFinalizeFromFileStream.java
Outdated
Show resolved
Hide resolved
Thank you for your detailed inputs. I've made the necessary changes. Please review them. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this PR. I added a few small review comments.
src/main/java/org/openrewrite/java/migrate/io/RemoveFinalizeFromFileStream.java
Outdated
Show resolved
Hide resolved
src/main/java/org/openrewrite/java/migrate/io/RemoveFinalizeFromFileStream.java
Outdated
Show resolved
Hide resolved
src/main/java/org/openrewrite/java/migrate/io/RemoveFinalizeFromFileStream.java
Outdated
Show resolved
Hide resolved
src/main/java/org/openrewrite/java/migrate/io/RemoveFinalizeFromFileStream.java
Outdated
Show resolved
Hide resolved
src/main/java/org/openrewrite/java/migrate/io/RemoveFinalizeFromFileStream.java
Outdated
Show resolved
Hide resolved
src/main/java/org/openrewrite/java/migrate/io/RemoveFinalizeFromFileStream.java
Outdated
Show resolved
Hide resolved
src/main/java/org/openrewrite/java/migrate/io/RemoveFinalizeFromFileStream.java
Outdated
Show resolved
Hide resolved
src/main/java/org/openrewrite/java/migrate/io/RemoveFinalizeFromFileStream.java
Outdated
Show resolved
Hide resolved
src/main/java/org/openrewrite/java/migrate/io/RemoveFinalizeFromFileStream.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for getting this started @satvika-eda !
@joanvr Would you mind having another look for a review of my changes? That way it's not just me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I've specially looked at the tests, and I thing we have a very good coverage! Good job!
What's changed?
finalize method has been removed from the FileInputStream and FileOutputStream of the io package for which the needed automation has been done as part of the recipe created
What's your motivation?
To automate JDK migration to a greater extent
Checklist
./gradlew licenseFormat