Skip to content

Conversation

marcel-gepardec
Copy link
Contributor

Typo in JavaxWsToJakartaWs recipe

What's changed?

The version option changed to newVersion in the org.openrewrite.java.migrate.jakarta.JavaxWsToJakartaWs recipe.

What's your motivation?

While migrating to Jakarta with the org.openrewrite.java.migrate.jakarta.JakartaEE10 recipe I noticed something strange. The version of my previously used dependency javax.ws.rs didn't change. So I started looking around and found probably a typo.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some suggestions could not be made:

  • src/test/java/org/openrewrite/java/migrate/DeleteDeprecatedFinalizeTest.java
    • lines 25-25

@timtebeek
Copy link
Member

Thanks a lot for pointing this out! I found an additional to cases, but it appears I'm not allowed to push to this pull request branch, so I'll fix those on main. Also did a quick scan across all OpenRewrite projects; luckily only this file seemed affected:
https://app.moderne.io/results/pv7RqZMPI

Still might be a good reason to add validation that there's no unmatched options, as this one could take a while to spot. 🙏🏻

@timtebeek timtebeek added the bug Something isn't working label Jul 8, 2024
@timtebeek timtebeek merged commit 21afdef into openrewrite:main Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants