Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: openrewrite/rewrite-migrate-java
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.13.0
Choose a base ref
...
head repository: openrewrite/rewrite-migrate-java
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.14.0
Choose a head ref
  • 12 commits
  • 43 files changed
  • 10 contributors

Commits on Jul 10, 2025

  1. Configuration menu
    Copy the full SHA
    1940f67 View commit details
    Browse the repository at this point in the history
  2. NullCheckAsSwitchCase should only add null case 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>
    4 people authored Jul 10, 2025
    Configuration menu
    Copy the full SHA
    0c6efc9 View commit details
    Browse the repository at this point in the history
  3. Do not add a break after a throw

    Fixes #785
    timtebeek committed Jul 10, 2025
    Configuration menu
    Copy the full SHA
    ac9f1e1 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2025

  1. Configuration menu
    Copy the full SHA
    775fcf2 View commit details
    Browse the repository at this point in the history
  2. 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
    jevanlingen authored Jul 14, 2025
    Configuration menu
    Copy the full SHA
    a2b5986 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2025

  1. 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>
    jkschneider and claude authored Jul 17, 2025
    Configuration menu
    Copy the full SHA
    2c351ac View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2025

  1. LombokValueToRecord should 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>
    4 people authored Jul 18, 2025
    Configuration menu
    Copy the full SHA
    c853276 View commit details
    Browse the repository at this point in the history
  2. fix test due to change in ChangeTagAttribute (#797)

    `ChangeTagAttribute` is now idempotent openrewrite/rewrite#5769
    pdelagrave authored Jul 18, 2025
    Configuration menu
    Copy the full SHA
    1f79d3b View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2025

  1. Configuration menu
    Copy the full SHA
    d361580 View commit details
    Browse the repository at this point in the history
  2. Update expectations after new versions of zulu images

    Kick the can down the road on changing how tests do assertions for now
    timtebeek committed Jul 21, 2025
    Configuration menu
    Copy the full SHA
    7b4fb61 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2025

  1. Configuration menu
    Copy the full SHA
    e4b2a8e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    98c7a8a View commit details
    Browse the repository at this point in the history
Loading