Replace finalize method in java.util.zip.ZipFile, java.util.zip.Inflater and java.util.zip.Deflater
MSALThe finalize method in java.util.zip.ZipFile is replaced with the close method and is replaced by the end method in java.util.zip.Inflater and java.util.zip.Deflater as it is no longer available in Java SE 12 and later.
org. openrewrite. java. migrate. RemovedZipFinalizeMethodsmod run . --recipe= org. openrewrite. java. migrate. RemovedZipFinalizeMethodsInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.
Recipe list
It runs these recipes, in this order.