diff --git a/src/test/java/org/openrewrite/analysis/constantfold/ConstantFoldTest.java b/src/test/java/org/openrewrite/analysis/constantfold/ConstantFoldTest.java index 0173f7d9e..a67d939a4 100644 --- a/src/test/java/org/openrewrite/analysis/constantfold/ConstantFoldTest.java +++ b/src/test/java/org/openrewrite/analysis/constantfold/ConstantFoldTest.java @@ -28,7 +28,7 @@ import static org.openrewrite.java.Assertions.java; -public class ConstantFoldTest implements RewriteTest { +class ConstantFoldTest implements RewriteTest { @Override public void defaults(RecipeSpec spec) { @@ -51,7 +51,7 @@ public Expression visitExpression(Expression expression, P p) { } @Test - public void constantFoldSingleElementString() { + void constantFoldSingleElementString() { rewriteRun( java( """ @@ -84,7 +84,7 @@ void any(Object arg) { @Test @DocumentExample - public void constantFoldTagsElements() { + void constantFoldTagsElements() { rewriteRun( java( """ @@ -122,7 +122,7 @@ void any(Object arg) { } @Test - public void constantFoldTagsArray() { + void constantFoldTagsArray() { rewriteRun( java( """ diff --git a/src/test/java/org/openrewrite/analysis/util/CursorUtilTest.java b/src/test/java/org/openrewrite/analysis/util/CursorUtilTest.java index d16c0a758..b54ca8f61 100644 --- a/src/test/java/org/openrewrite/analysis/util/CursorUtilTest.java +++ b/src/test/java/org/openrewrite/analysis/util/CursorUtilTest.java @@ -27,7 +27,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; import static org.openrewrite.java.Assertions.java; -public class CursorUtilTest implements RewriteTest { +class CursorUtilTest implements RewriteTest { private static final class FindCursorForTreeTestVisitor extends JavaVisitor { @@ -45,7 +45,7 @@ public J visitMethodInvocation(J.MethodInvocation method, ExecutionContext execu } @Test - public void findCursorForTreeTest() { + void findCursorForTreeTest() { rewriteRun( spec -> spec.recipe(RewriteTest.toRecipe(FindCursorForTreeTestVisitor::new)), java(