Skip to content

Commit

Permalink
refactor: OpenRewrite recipe best practices
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek and TeamModerne committed Dec 8, 2023
1 parent ce129f1 commit 1af57da
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ public void defaults(RecipeSpec spec) {
void reorderArguments() {
//language=java
rewriteRun(
java("""
java(
"""
import okhttp3.MediaType;
import okhttp3.RequestBody;
Expand Down Expand Up @@ -66,7 +67,8 @@ void testMethod() {
void dontReorderArguments() {
//language=java
rewriteRun(
java("""
java(
"""
import okhttp3.MediaType;
import okhttp3.RequestBody;
Expand Down

0 comments on commit 1af57da

Please sign in to comment.