Simplify else branch if it only has a single if

MSAL

Replaces an else block that contains only a single if statement with an else if.

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

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