Replace invocations of finalize() on FileInputStream and FileOutputStream with close()
MSALReplace invocations of the deprecated finalize() method on FileInputStream and FileOutputStream with close().
org. openrewrite. java. migrate. io. ReplaceFileInOrOutputStreamFinalizeWithClosemod run . --recipe= org. openrewrite. java. migrate. io. ReplaceFileInOrOutputStreamFinalizeWithCloseInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.