Remove unused private methods
MSALprivate methods that are never executed are dead code and should be removed. Keeping unreachable methods around adds maintenance burden and can give a false impression of the class's capabilities.
org. openrewrite. staticanalysis. RemoveUnusedPrivateMethodsmod run . --recipe= org. openrewrite. staticanalysis. RemoveUnusedPrivateMethodsInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.