Remove unneeded block

MSAL

Flatten blocks into inline statements when possible. Unnecessary nested blocks add indentation and scope boundaries that obscure the control flow, often indicating code that should be extracted into its own method.

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

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