Remove unused private methods

MSAL

private 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.RemoveUnusedPrivateMethods
mod run . --recipe=org.openrewrite.staticanalysis.RemoveUnusedPrivateMethods

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