Don't use final on local variables
MSALRemove the final modifier keyword from local variables regardless of whether they are used within a local class or an anonymous class.
org. openrewrite. staticanalysis. NoFinalizedLocalVariablesOptional
excludeMethodParametersBoolean
If true, do not remove final from method parameters.
mod run . --recipe= org. openrewrite. staticanalysis. NoFinalizedLocalVariablesInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.