Skip to content

Commit

Permalink
refactor: Remove public modifiers from RewriteTest classes
Browse files Browse the repository at this point in the history
Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.recipes.OpenRewriteBestPractices?organizationId=T3BlblJld3JpdGU%3D

Co-authored-by: Moderne <team@moderne.io>
  • Loading branch information
timtebeek and TeamModerne committed Feb 11, 2024
1 parent 624e412 commit 4c4b0b0
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

import static org.openrewrite.maven.Assertions.pomXml;

public class EhcacheJavaxtoJakartaTest implements RewriteTest {
class EhcacheJavaxtoJakartaTest 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.xml.Assertions.xml;

public class FacesJNDINamesChangedTest implements RewriteTest {
class FacesJNDINamesChangedTest implements RewriteTest {
@Override
public void defaults(RecipeSpec spec) {
spec.recipe(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import static org.assertj.core.api.Assertions.assertThat;
import static org.openrewrite.maven.Assertions.pomXml;

public class JohnzonJavaxtoJakartaTest implements RewriteTest {
class JohnzonJavaxtoJakartaTest implements RewriteTest {

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


public class RemovedIsParmetersProvidedMethodTest implements RewriteTest {
class RemovedIsParmetersProvidedMethodTest implements RewriteTest {
@Override
public void defaults(RecipeSpec spec) {
spec
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

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

public class RemovedJakartaFacesExpressionLanguageClassesTest implements RewriteTest {
class RemovedJakartaFacesExpressionLanguageClassesTest implements RewriteTest {

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

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

public class RemovedJakartaFacesResourceResolverTest implements RewriteTest {
class RemovedJakartaFacesResourceResolverTest implements RewriteTest {
@Override
public void defaults(RecipeSpec spec) {
spec.parser(JavaParser.fromJavaVersion().
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import static org.openrewrite.java.Assertions.java;


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


public class RemovedStateManagerMethodsTest implements RewriteTest {
class RemovedStateManagerMethodsTest implements RewriteTest {
@Override
public void defaults(RecipeSpec spec) {
spec.parser(JavaParser.fromJavaVersion()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

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

public class ServletCookieBehaviorChangeRFC6265Test implements RewriteTest {
class ServletCookieBehaviorChangeRFC6265Test implements RewriteTest {
@Override
public void defaults(RecipeSpec spec) {
spec.parser(JavaParser.fromJavaVersion().
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

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

public class UseVarForGenericMethodInvocationsTest implements RewriteTest {
class UseVarForGenericMethodInvocationsTest implements RewriteTest {
@Override
public void defaults(RecipeSpec spec) {
spec.recipe(new UseVarForGenericMethodInvocations())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

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

public class UseVarForGenericsConstructorsTest implements RewriteTest {
class UseVarForGenericsConstructorsTest implements RewriteTest {
@Override
public void defaults(RecipeSpec spec) {
spec.recipe(new UseVarForGenericsConstructors())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import static org.openrewrite.Tree.randomId;
import static org.openrewrite.java.Assertions.java;

public class FindJavaVersionTest implements RewriteTest {
class FindJavaVersionTest implements RewriteTest {

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

0 comments on commit 4c4b0b0

Please sign in to comment.