Simplify lambda blocks to expressions

MSAL

Single-line statement lambdas returning a value can be replaced with expression lambdas. Expression-form lambdas are more concise and consistent with a functional programming style, making the code easier to scan.

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

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