Skip to content

Commit

Permalink
refactor: Remove public modifiers from RewriteTest classes
Browse files Browse the repository at this point in the history
  • Loading branch information
2 people authored and app committed Feb 11, 2024
1 parent 683933a commit 3014a60
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

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

public class AvoidBoxedBooleanExpressionsTest implements RewriteTest {
class AvoidBoxedBooleanExpressionsTest implements RewriteTest {

@Override
public void defaults(RecipeSpec spec) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import static org.openrewrite.java.Assertions.java;

@SuppressWarnings("UnpredictableBigDecimalConstructorCall")
public class BigDecimalDoubleConstructorTest implements RewriteTest {
class BigDecimalDoubleConstructorTest implements RewriteTest {

@Override
public void defaults(RecipeSpec spec) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

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

public class CommonStaticAnalysisIssuesPerformanceTest implements RewriteTest {
class CommonStaticAnalysisIssuesPerformanceTest implements RewriteTest {

@Override
public void defaults(RecipeSpec spec) {
Expand Down
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 CompareEnumsWithEqualityOperatorTest implements RewriteTest {
class CompareEnumsWithEqualityOperatorTest implements RewriteTest {
@Override
public void defaults(RecipeSpec spec) {
spec.recipe(new CompareEnumsWithEqualityOperator());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import static org.openrewrite.java.Assertions.java;

@SuppressWarnings("ALL")
public class FixStringFormatExpressionsTest implements RewriteTest {
class FixStringFormatExpressionsTest implements RewriteTest {
@Override
public void defaults(RecipeSpec spec) {
spec.recipe(new FixStringFormatExpressions());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

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

public class RemoveSystemOutPrintlnTest implements RewriteTest {
class RemoveSystemOutPrintlnTest implements RewriteTest {

@Override
public void defaults(RecipeSpec spec) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
import static org.openrewrite.java.Assertions.java;

@SuppressWarnings({"ImplicitArrayToString", "UnnecessaryLocalVariable", "RedundantStringFormatCall", "MalformedFormatString", "PrimitiveArrayArgumentToVarargsMethod"})
public class RemoveToStringCallsFromArrayInstancesTest implements RewriteTest {
class RemoveToStringCallsFromArrayInstancesTest implements RewriteTest {
@Override
public void defaults(RecipeSpec spec) {
spec.recipe(new RemoveToStringCallsFromArrayInstances());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

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

public class ReplaceRedundantFormatWithPrintfTest implements RewriteTest {
class ReplaceRedundantFormatWithPrintfTest implements RewriteTest {

@Override
public void defaults(RecipeSpec spec) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

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

public class ReplaceStackWithDequeTest implements RewriteTest {
class ReplaceStackWithDequeTest implements RewriteTest {
@Override
public void defaults(RecipeSpec spec) {
spec.recipe(new ReplaceStackWithDeque());
Expand Down
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 SimplifyDurationCreationUnitsTest implements RewriteTest {
class SimplifyDurationCreationUnitsTest implements RewriteTest {

@Override
public void defaults(RecipeSpec spec) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
import static org.openrewrite.java.Assertions.java;

@SuppressWarnings("ALL")
public class UpperCaseLiteralSuffixesTest implements RewriteTest {
class UpperCaseLiteralSuffixesTest implements RewriteTest {

@Override
public void defaults(RecipeSpec spec) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import static org.openrewrite.java.Assertions.java;

@SuppressWarnings("ALL")
public class UseForEachRemoveInsteadOfSetRemoveAllTest implements RewriteTest {
class UseForEachRemoveInsteadOfSetRemoveAllTest implements RewriteTest {

@Override
public void defaults(RecipeSpec spec) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import static org.openrewrite.java.Assertions.java;

@SuppressWarnings("ALL")
public class UseListSortTest implements RewriteTest {
class UseListSortTest implements RewriteTest {
@Override
public void defaults(RecipeSpec spec) {
spec.recipe(new UseListSort());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

import static org.openrewrite.groovy.Assertions.groovy;

public class MinimumSwitchCasesTest implements RewriteTest {
class MinimumSwitchCasesTest implements RewriteTest {

@Override
public void defaults(RecipeSpec spec) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

import static org.openrewrite.groovy.Assertions.groovy;

public class ReplaceLambdaWithMethodReferenceTest implements RewriteTest {
class ReplaceLambdaWithMethodReferenceTest implements RewriteTest {

@Override
public void defaults(RecipeSpec spec) {
Expand Down

0 comments on commit 3014a60

Please sign in to comment.