Unnecessary final in try-with-resources
MSALRemove the redundant final modifier from resources declared in a try-with-resources statement. Such resources are implicitly final, so the modifier adds no meaning.
org. openrewrite. staticanalysis. UnnecessaryFinalInTryWithResourcesmod run . --recipe= org. openrewrite. staticanalysis. UnnecessaryFinalInTryWithResourcesInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.