Skip to content

Commit

Permalink
refactor: Remove public visibility of JUnit 5 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek and TeamModerne committed Feb 5, 2024
1 parent 7fd47ab commit 97f9979
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

import static org.openrewrite.java.Assertions.java;

public class AddTimeUnitArgumentTest implements RewriteTest {
class AddTimeUnitArgumentTest implements RewriteTest {
//language=java
private static final SourceSpecs stubCode = java(
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import static org.openrewrite.test.RewriteTest.toRecipe;

@SuppressWarnings({"ResultOfMethodCallIgnored", "CodeBlock2Expr", "RedundantThrows", "Convert2MethodRef", "EmptyTryBlock", "CatchMayIgnoreException", "EmptyFinallyBlock", "StringBufferReplaceableByString", "UnnecessaryLocalVariable"})
public class RemoveMethodInvocationsVisitorTest implements RewriteTest {
class RemoveMethodInvocationsVisitorTest implements RewriteTest {

private Recipe createRemoveMethodsRecipe(String... methods) {
return toRecipe(() -> new RemoveMethodInvocationsVisitor(List.of(methods)));
Expand Down

0 comments on commit 97f9979

Please sign in to comment.