-
Notifications
You must be signed in to change notification settings - Fork 365
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: OpenRewrite best practices #4151
Conversation
Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.recipes.OpenRewriteBestPractices?organizationId=T3BlblJld3JpdGU%3D Co-authored-by: Moderne <[email protected]>
@mike-solomon didn't get to finishing this earlier; would you be able to help add example values for the 21 TODO comments inserted here? |
rewrite-core/src/main/java/org/openrewrite/FindParseFailures.java
Outdated
Show resolved
Hide resolved
rewrite-gradle/src/main/java/org/openrewrite/gradle/AddProperty.java
Outdated
Show resolved
Hide resolved
rewrite-gradle/src/main/java/org/openrewrite/gradle/UpdateGradleWrapper.java
Outdated
Show resolved
Hide resolved
@timtebeek Yep - I believe I fixed all open TODOs. Please let me know if you run into any issues with these. I'm not actually sure how this will appear but I did my best to put in examples as I found them in tests or online. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for helping fill out the examples Mike! These will appear in the docs in the options table; I suppose you'll see them come by with the next release.
* refactor: OpenRewrite best practices Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.recipes.OpenRewriteBestPractices?organizationId=T3BlblJld3JpdGU%3D Co-authored-by: Moderne <[email protected]> * Apply suggestions from code review * Fix TODOs in AddRepository * Fix TODOs in RemoveRepository * Resolve more TODOs --------- Co-authored-by: Moderne <[email protected]> Co-authored-by: $(git --no-pager log --format=format:'%an' -n 1) <[email protected]>
Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.recipes.OpenRewriteBestPractices?organizationId=T3BlblJld3JpdGU%3D