Skip to content

Commit

Permalink
refactor: OpenRewrite best practices
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 Apr 25, 2024
1 parent fafcb85 commit 4533f2a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,4 @@ public J.MethodDeclaration visitMethodDeclaration(J.MethodDeclaration md, Execut
return new RemoveAnnotationVisitor(TEST_ANNOTATION_MATCHER).visitMethodDeclaration(m, ctx);
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,4 @@ private J.MethodInvocation replaceWithAssertDoesNotThrowWithStringExpression(Exe
.apply(getCursor(), try_.getCoordinates().replace(), try_.getBody(), failCallArgument);
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -414,4 +414,4 @@ void test() {
rewriteRun(java(before, after));
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,4 @@ void test() {
)
);
}
}
}

0 comments on commit 4533f2a

Please sign in to comment.