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 ccf3304 commit 981693e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -247,4 +247,4 @@ public J visitMethodInvocation(J.MethodInvocation method, ExecutionContext ctx)
return mi;
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,4 @@ public static String replaceY(String input) {
return output.toString();
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -211,4 +211,3 @@ private boolean hasElseWithComment(J.If.Else else_) {
};
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -152,4 +152,4 @@ public J.MemberReference visitMemberReference(J.MemberReference memberRef, Atomi
J.MemberReference methodReference = newStaticMethodReference(reference.getMethodType(), true, reference.getType());
assertThat(SemanticallyEqual.areEqual(reference, methodReference)).isTrue();
}
}
}

0 comments on commit 981693e

Please sign in to comment.