-
Notifications
You must be signed in to change notification settings - Fork 115
Comparing changes
Open a pull request
base repository: openrewrite/rewrite-migrate-java
base: v3.13.0
head repository: openrewrite/rewrite-migrate-java
compare: v3.14.0
- 12 commits
- 43 files changed
- 10 contributors
Commits on Jul 10, 2025
-
refactor: OpenRewrite Recipe best practices
Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.recipes.rewrite.OpenRewriteRecipeBestPractices?organizationId=QUxML09wZW4gU291cmNlL09wZW5SZXdyaXRl Co-authored-by: Moderne <team@moderne.io>
Configuration menu - View commit details
-
Copy full SHA for 1940f67 - Browse repository at this point
Copy the full SHA 1940f67View commit details -
NullCheckAsSwitchCaseshould only addnullcase if the switch is ……exhaustive (#769) * Only add null case when all values covered * Use Switch expression/statement syntax accordingly * Update src/main/java/org/openrewrite/java/migrate/lang/NullCheckAsSwitchCase.java Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Add Precondition and test to run them * Add Precondition and test to run them * Comment * Hold off on inclusion until we've validated at scale * Remove unnecessary else * Return early if we discover a default case * Name the two branches of case rules vs case statements --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Pierre Delagrave <pierre@moderne.io> Co-authored-by: Tim te Beek <tim@moderne.io>
Configuration menu - View commit details
-
Copy full SHA for 0c6efc9 - Browse repository at this point
Copy the full SHA 0c6efc9View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac9f1e1 - Browse repository at this point
Copy the full SHA ac9f1e1View commit details
Commits on Jul 14, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 775fcf2 - Browse repository at this point
Copy the full SHA 775fcf2View commit details -
Let all change-to-var recipes use a created var-Identifier instead of…
… using a JavaTemplate (#793) * Let all change-to-var recipes use a created var-Identifier instead of using a JavaTemplate * Polish * Polish * Polish * Polish
Configuration menu - View commit details
-
Copy full SHA for a2b5986 - Browse repository at this point
Copy the full SHA a2b5986View commit details
Commits on Jul 17, 2025
-
Fix NPE in IteratorNext recipe when iterator() has no explicit receiv…
…er (#796) The recipe failed with a NullPointerException when encountering code like `iterator().next()` where the iterator() method is called without an explicit receiver (using implicit `this`). This fix adds a null check for `iteratorSelect` before attempting to check its type. Added test case to verify the recipe correctly handles implicit receiver cases without throwing NPE. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Claude <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for 2c351ac - Browse repository at this point
Copy the full SHA 2c351acView commit details
Commits on Jul 18, 2025
-
LombokValueToRecordshould rewrite method references too (#469)* try to rewrite method references * Apply suggestions from code review Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Alter implementation and polish tests * Stop ignoring type validation issues * Also update method type * Light polish * Minimize test * Fix annotation order * Pull up suppressions --------- Co-authored-by: Tim te Beek <tim@moderne.io> Co-authored-by: Tim te Beek <timtebeek@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for c853276 - Browse repository at this point
Copy the full SHA c853276View commit details -
fix test due to change in
ChangeTagAttribute(#797)`ChangeTagAttribute` is now idempotent openrewrite/rewrite#5769
Configuration menu - View commit details
-
Copy full SHA for 1f79d3b - Browse repository at this point
Copy the full SHA 1f79d3bView commit details
Commits on Jul 21, 2025
-
Configuration menu - View commit details
-
Copy full SHA for d361580 - Browse repository at this point
Copy the full SHA d361580View commit details -
Update expectations after new versions of zulu images
Kick the can down the road on changing how tests do assertions for now
Configuration menu - View commit details
-
Copy full SHA for 7b4fb61 - Browse repository at this point
Copy the full SHA 7b4fb61View commit details
Commits on Jul 22, 2025
-
refactor: Unwrap else block after return or throw statement (#798)
Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.staticanalysis.UnwrapElseAfterReturn?organizationId=ODQ2MGExMTUtNDg0My00N2EwLTgzMGMtNGE1NGExMTBmZDkw Co-authored-by: Moderne <team@moderne.io>
Configuration menu - View commit details
-
Copy full SHA for e4b2a8e - Browse repository at this point
Copy the full SHA e4b2a8eView commit details -
refactor: Inline local variable assignments before return/throw
Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.staticanalysis.InlineVariable?organizationId=ODQ2MGExMTUtNDg0My00N2EwLTgzMGMtNGE1NGExMTBmZDkw Co-authored-by: Moderne <team@moderne.io>
Configuration menu - View commit details
-
Copy full SHA for 98c7a8a - Browse repository at this point
Copy the full SHA 98c7a8aView 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 v3.13.0...v3.14.0