Replace invocations of finalize() on FileInputStream and FileOutputStream with close()

MSAL

Replace invocations of the deprecated finalize() method on FileInputStream and FileOutputStream with close().

org.openrewrite.java.migrate.io.ReplaceFileInOrOutputStreamFinalizeWithClose
mod run . --recipe=org.openrewrite.java.migrate.io.ReplaceFileInOrOutputStreamFinalizeWithClose

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.