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.12.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.13.0
Choose a head ref
  • 19 commits
  • 138 files changed
  • 11 contributors

Commits on Jun 25, 2025

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

Commits on Jun 30, 2025

  1. Configuration menu
    Copy the full SHA
    67f7730 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2025

  1. refactor: org.openrewrite.mavencentral (#778)

    Use this link to re-run the recipe: https://app.moderne.io/builder/zYwEKw0Gm?organizationId=QUxML09wZW4gU291cmNlL09wZW5SZXdyaXRl
    
    Co-authored-by: Moderne <team@moderne.io>
    Laurens-W and TeamModerne authored Jul 2, 2025
    Configuration menu
    Copy the full SHA
    2d38d73 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2025

  1. Do not add explicit Record class import if using var keyword (#781)

    * Do not add explicit `Record` class import if using `var` keyword
    
    * Show new now problematic case
    
    * Switch to using `FindTypes.findAssignable`
    
    * No need for marker
    timtebeek authored Jul 3, 2025
    Configuration menu
    Copy the full SHA
    8a107ee View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2025

  1. Configuration menu
    Copy the full SHA
    423f370 View commit details
    Browse the repository at this point in the history
  2. Correct groupId for jakarta.annotation:jakarta.annotation-api upgra…

    …de (#784)
    
    The `groupId` was listed as `jakarta.annotations`, but the actual `groupId` is `jakarta.annotation`
    steve-aom-elliott authored Jul 4, 2025
    Configuration menu
    Copy the full SHA
    d6823ab View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2025

  1. Keep jakarta.annotation-api dependency when moving to Jakarta with …

    …Spring Boot project and Jakarta annotations are used (#782)
    
    * Keep `jakarta.annotation-api` dependency when moving to Jakarta with Spring Boot project and null annotations are used
    
    * Add license
    
    * Update src/test/java/org/openrewrite/java/migrate/jakarta/JavaxToJakartaTest.java
    
    Co-authored-by: Tim te Beek <tim@moderne.io>
    
    * Implement multimodule solution
    
    * Stop looking through JavaProject after first annotation is found
    
    * Use `preVisit` to limit traversal, and find any Jakarta annotations
    
    ---------
    
    Co-authored-by: Tim te Beek <tim@moderne.io>
    jevanlingen and timtebeek authored Jul 7, 2025
    Configuration menu
    Copy the full SHA
    29599f9 View commit details
    Browse the repository at this point in the history
  2. refactor: Reorder annotations alphabetically

    2 people authored and app committed Jul 7, 2025
    Configuration menu
    Copy the full SHA
    b05fbe1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b6e35e2 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2025

  1. Configuration menu
    Copy the full SHA
    9feaf07 View commit details
    Browse the repository at this point in the history
  2. refactor: OpenRewrite Recipe best practices

    2 people authored and app committed Jul 8, 2025
    Configuration menu
    Copy the full SHA
    ad9a9d1 View commit details
    Browse the repository at this point in the history
  3. Add Bouncy Castle upgrade recipe for Java < 8 (#790)

    * add bouncycastle upgrade recipe for java < 8
    
    * include in UpgradeToJava7
    
    * * Add migration from Jdk15to18 -> Jdk18on
    * Add test for the added migration
    * Refactor tests
    
    * readability
    
    * fix test names
    
    * Slight polish
    
    * Move static method to the top
    
    ---------
    
    Co-authored-by: Tim te Beek <tim@moderne.io>
    pdelagrave and timtebeek authored Jul 8, 2025
    Configuration menu
    Copy the full SHA
    4aa3f71 View commit details
    Browse the repository at this point in the history
  4. Fix LombokValToFinalVar in loops (#768)

    * add test cases based on OpenSource findings
    
    * manually migrate from `for(val s : strings)` to `for(var s : strings)` to avoid java template
    
    * fix type and imports
    
    * Apply suggestions from code review
    
    * Apply suggestions from code review
    
    * Add early return for new case
    
    * Minimize test text blocks
    
    ---------
    
    Co-authored-by: Tim te Beek <tim@moderne.io>
    MBoegers and timtebeek authored Jul 8, 2025
    Configuration menu
    Copy the full SHA
    01384fb View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2025

  1. Configuration menu
    Copy the full SHA
    38fd948 View commit details
    Browse the repository at this point in the history
  2. Replace JavaTemplate by a var identifier element for UseVarForGener…

    …icsConstructors recipe (#789)
    
    * Replace JavaTemplate by a `var` identifier element
    
    * Polish
    
    * Polish
    
    * Polish
    
    * Polish
    
    * Apply suggestions from code review
    
    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    
    * Polish
    
    * Polish
    
    * Polish
    
    * Don't change anything if java < 10
    
    ---------
    
    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    jevanlingen and github-actions[bot] authored Jul 9, 2025
    Configuration menu
    Copy the full SHA
    033f84e View commit details
    Browse the repository at this point in the history
  3. Add missing type table entries (#792)

    * Add missing type table entries
    
    * Remove the test jars for entries now in type table
    timtebeek authored Jul 9, 2025
    Configuration menu
    Copy the full SHA
    02e5e97 View commit details
    Browse the repository at this point in the history
  4. Add Lombok @onx to @OnX_ migration recipe (#794)

    This recipe migrates deprecated Lombok @onx annotations to their
    underscore-suffixed equivalents (@OnX_). The affected annotations are:
    - @AllArgsConstructor.AnyAnnotation -> @AllArgsConstructor.AnyAnnotation_
    - @NoArgsConstructor.AnyAnnotation -> @NoArgsConstructor.AnyAnnotation_
    - @RequiredArgsConstructor.AnyAnnotation -> @RequiredArgsConstructor.AnyAnnotation_
    
    These annotations were deprecated in Lombok 1.16.20 and the underscore
    versions should be used instead.
    
    🤖 Generated with [Claude Code](https://claude.ai/code)
    
    Co-authored-by: Claude <noreply@anthropic.com>
    timtebeek and claude authored Jul 9, 2025
    Configuration menu
    Copy the full SHA
    f8b0afc View commit details
    Browse the repository at this point in the history
Loading