From 84d98e4b7d19b692b9de2452c7d641a83020d0a2 Mon Sep 17 00:00:00 2001 From: Tim te Beek Date: Fri, 9 Feb 2024 15:59:08 +0100 Subject: [PATCH] Add RewriteTestClassesShouldNotBePublic --- src/main/resources/META-INF/rewrite/openrewrite.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/resources/META-INF/rewrite/openrewrite.yml b/src/main/resources/META-INF/rewrite/openrewrite.yml index e31238c..350d05e 100644 --- a/src/main/resources/META-INF/rewrite/openrewrite.yml +++ b/src/main/resources/META-INF/rewrite/openrewrite.yml @@ -51,6 +51,7 @@ preconditions: checkAssignability: true recipeList: - org.openrewrite.java.OrderImports + - org.openrewrite.java.recipes.RewriteTestClassesShouldNotBePublic - org.openrewrite.java.recipes.SelectRecipeExamples - org.openrewrite.java.recipes.SourceSpecTextBlockIndentation - org.openrewrite.java.testing.cleanup.RemoveTestPrefix