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.33.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.34.0
Choose a head ref
  • 3 commits
  • 8 files changed
  • 3 contributors

Commits on Apr 23, 2026

  1. Ensure case always has a space before the label in `IfElseIfConstru…

    …ctToSwitch` (#1071)
    
    Guarantee a single space between `case` and the pattern label when the
    label prefix is empty and the type expression has no leading whitespace,
    so the printed switch is always well-formed (e.g. `case Type name` rather
    than `caseType name`).
    
    See openrewrite/rewrite#7458
    timtebeek authored Apr 23, 2026
    Configuration menu
    Copy the full SHA
    a58b8b2 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2026

  1. Add UsePredicateNot to replace cast-and-negate with `Predicate.not(…

    …..)` (#1072)
    
    * Add `UsePredicateNot` to replace cast-and-negate with `Predicate.not(..)`
    
    Targets Java 11+ code like `((Predicate<T>) lambdaOrMethodRef).negate()` and
    rewrites to `Predicate.not(lambdaOrMethodRef)`.
    
    * Regenerate `recipes.csv`
    
    * Use `Expression.unwrap()` in `UsePredicateNot`
    timtebeek authored Apr 24, 2026
    Configuration menu
    Copy the full SHA
    95028a5 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2026

  1. Configuration menu
    Copy the full SHA
    61c1777 View commit details
    Browse the repository at this point in the history
Loading