Simplify else branch if it only has a single if
MSALReplaces an else block that contains only a single if statement with an else if.
org. openrewrite. staticanalysis. SimplifyElseBranchmod run . --recipe= org. openrewrite. staticanalysis. SimplifyElseBranchInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.