All branches in a conditional should not have the same implementation

MSAL

When every branch of an if/else chain executes the same code, the condition serves no purpose and the code block can be used directly.

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

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