From d4a9a0f8f832b8882cb43a50ab58909a89513315 Mon Sep 17 00:00:00 2001 From: Tim te Beek Date: Sat, 21 Sep 2024 17:22:08 +0200 Subject: [PATCH] Enforce wrapped operator on EOL --- src/main/resources/META-INF/rewrite/openrewrite.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/resources/META-INF/rewrite/openrewrite.yml b/src/main/resources/META-INF/rewrite/openrewrite.yml index fa77d0f..5709994 100644 --- a/src/main/resources/META-INF/rewrite/openrewrite.yml +++ b/src/main/resources/META-INF/rewrite/openrewrite.yml @@ -28,6 +28,8 @@ recipeList: - org.openrewrite.staticanalysis.InlineVariable - org.openrewrite.staticanalysis.LambdaBlockToExpression - org.openrewrite.staticanalysis.MissingOverrideAnnotation + - org.openrewrite.staticanalysis.OperatorWrap: + wrapOption: EOL - org.openrewrite.staticanalysis.UseDiamondOperator --- type: specs.openrewrite.org/v1beta/recipe