From da57352794a42b15957a5e9fd0e51e1e45580a62 Mon Sep 17 00:00:00 2001 From: Tim te Beek Date: Tue, 24 Dec 2024 15:33:14 +0100 Subject: [PATCH] Update rewrite.yml to enforce CompareEnumsWithEqualityOperator --- rewrite.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rewrite.yml b/rewrite.yml index 6ed6b2ee876..9ad48193b27 100644 --- a/rewrite.yml +++ b/rewrite.yml @@ -27,6 +27,7 @@ recipeList: - org.openrewrite.recipes.RecipeNullabilityBestPracticesSubset #- org.openrewrite.java.OrderImports - org.openrewrite.java.format.EmptyNewlineAtEndOfFile + - org.openrewrite.staticanalysis.CompareEnumsWithEqualityOperator - org.openrewrite.staticanalysis.InlineVariable - org.openrewrite.staticanalysis.MissingOverrideAnnotation - org.openrewrite.staticanalysis.UseDiamondOperator @@ -75,4 +76,4 @@ recipeList: annotationPattern: '@org.jetbrains.annotations.NotNull' - org.openrewrite.java.RemoveAnnotation: annotationPattern: '@jakarta.annotation.Nonnull' - #- org.openrewrite.java.jspecify.MigrateToJspecify \ No newline at end of file + #- org.openrewrite.java.jspecify.MigrateToJspecify