Static methods need not be final

MSAL

Static methods do not need to be declared final because they cannot be overridden. Redundant modifiers add noise to the code and can suggest a misunderstanding of the language's dispatch model.

org.openrewrite.staticanalysis.StaticMethodNotFinal
mod run . --recipe=org.openrewrite.staticanalysis.StaticMethodNotFinal

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