-
Notifications
You must be signed in to change notification settings - Fork 119
Comparing changes
Open a pull request
base repository: openrewrite/rewrite-migrate-java
base: v2.21.0
head repository: openrewrite/rewrite-migrate-java
compare: v2.22.1
- 13 commits
- 118 files changed
- 11 contributors
Commits on Aug 2, 2024
-
Add Refaster style recipes for Guava (#522)
* Add Refaster style recipes for Guava * Update src/main/java/org/openrewrite/java/migrate/guava/NoGuavaRefaster.java Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for c1ed883 - Browse repository at this point
Copy the full SHA c1ed883View commit details
Commits on Aug 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d57a809 - Browse repository at this point
Copy the full SHA d57a809View commit details
Commits on Aug 8, 2024
-
Additional No guava recipes (#527)
* Replace guava TreeMap with Java TreeMap Replace guava Primitive asList with Arrays asList Replace guava newArrayListWithExpectedSize with Java new ArrayList<>(int) * Apply org.openrewrite.recipes.OpenRewriteBestPractices * Remove newArrayListWithExpectedSize to new ArrayList<>(int) as there are nuances lost in this way of doing it Remove trailing whitespace * Also remove newArrayListWithExpectedSize testcase Correct more white spacing Apply feedback to NoGuavaPrimitiveAsList * Correct more white spacing * Extend plain JavaIsoVisitor instead of AbstractRefasterJavaVisitor * Add missing case with Comparator argument * Reference recipes from NoGuava aggregate * Update display name for consistency * Update display name for consistency --------- Co-authored-by: Laurens Westerlaken <laurens.westerlaken@jdriven.com> Co-authored-by: Tim te Beek <tim@moderne.io>
Configuration menu - View commit details
-
Copy full SHA for 9db7ee7 - Browse repository at this point
Copy the full SHA 9db7ee7View commit details
Commits on Aug 9, 2024
-
Clear out empty newlines (#528)
* Clear out empty newlines * Add missing document example
Configuration menu - View commit details
-
Copy full SHA for 7b360b9 - Browse repository at this point
Copy the full SHA 7b360b9View commit details -
Recipe ReplaceAWTGetPeerMethod in Java 11 Migration (#524)
* getPeer() recipe * updated with fixes * small updates * Apply suggestions from code review Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Apply suggestions from code review * Apply formatter & order imports * Align before and after code blocks again * updated recipe name, updated tests and formatted code * removing extra file commit and test update * adding comments, Test file cleanup * Demonstrate the need for `super.visitControlParentheses(cp, ctx)` * Only override `visitBinary` and `visitInstanceOf` * Update src/test/java/org/openrewrite/java/migrate/ReplaceAWTGetPeerMethodTest.java * update to code and adding missing arguments to .yml * right format for java-version.yml * Remove import after instanceof replacement * Also handle flipped case * Replace `checkClassNameIsEqualToFQCN` with TypeUtils * Remove duplication in arguments * Document options and shorten description * fixed small typo in description --------- Co-authored-by: anuram <ranuradh@us.ibm.com> Co-authored-by: Tim te Beek <tim@moderne.io> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for cdba5a2 - Browse repository at this point
Copy the full SHA cdba5a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 144a96b - Browse repository at this point
Copy the full SHA 144a96bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d0375f6 - Browse repository at this point
Copy the full SHA d0375f6View commit details
Commits on Aug 12, 2024
-
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 <team@moderne.io>
Configuration menu - View commit details
-
Copy full SHA for 83572ca - Browse repository at this point
Copy the full SHA 83572caView commit details -
Configuration menu - View commit details
-
Copy full SHA for 258b99b - Browse repository at this point
Copy the full SHA 258b99bView commit details -
Add Recipe RemovedRuntimeTraceMethods Java 17 (#530)
* add RemovedRuntimeTraceMethods java 17 * removed duplicate enteries for removeTraceMethods and kept the named Recipe * End java-version-17.yml with a new line --------- Co-authored-by: anuram <ranuradh@us.ibm.com> Co-authored-by: Tim te Beek <tim@moderne.io>
Configuration menu - View commit details
-
Copy full SHA for 217cf89 - Browse repository at this point
Copy the full SHA 217cf89View commit details
Commits on Aug 14, 2024
-
refactor: Update Gradle wrapper (#531)
Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.gradle.UpdateGradleWrapper?organizationId=T3BlblJld3JpdGU%3D Co-authored-by: Moderne <team@moderne.io>
Configuration menu - View commit details
-
Copy full SHA for b53a02d - Browse repository at this point
Copy the full SHA b53a02dView commit details -
Use a transient field for
seenin FindJavaVersion (#533)Same as in sibling recipe `AboutJavaVersion`
Configuration menu - View commit details
-
Copy full SHA for bc4e6ce - Browse repository at this point
Copy the full SHA bc4e6ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 338d9cc - Browse repository at this point
Copy the full SHA 338d9ccView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v2.21.0...v2.22.1