Skip to content

Move Java EE 8 servlet update into separate recipe#1170

Merged
timtebeek merged 2 commits into
openrewrite:mainfrom
rlsanders4:java8
Jul 17, 2026
Merged

Move Java EE 8 servlet update into separate recipe#1170
timtebeek merged 2 commits into
openrewrite:mainfrom
rlsanders4:java8

Conversation

@rlsanders4

Copy link
Copy Markdown
Contributor

What's changed?

This PR moves the Java EE 8 Servlet update to 3.x into a separate recipe. This new recipe is then referenced by the org.openrewrite.java.migrate.javaee8 recipe list. Also, the order of the recipes in this list was adjusted to ensure that org.openrewrite.java.migrate.javaee7 recipe is called first.

What's your motivation?

Splitting this recipe out allows for users to call it individually, without invoking the full Java EE 8 recipe list. Moving the Java EE 7 recipes to the top of the Java EE 8 list ensures that updates are made in the correct order for users migrating across multiple Java EE levels.

Anyone you would like to review specifically?

@timtebeek

Checklist

  • I've added unit tests to cover both positive and negative cases
  • I've read and applied the recipe conventions and best practices
  • I've used the IntelliJ IDEA auto-formatter on affected files

@rlsanders4 rlsanders4 self-assigned this Jul 16, 2026
@github-project-automation github-project-automation Bot moved this to In Progress in OpenRewrite Jul 16, 2026
@rlsanders4
rlsanders4 requested a review from timtebeek July 16, 2026 19:15

@timtebeek timtebeek left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks once again! No idea why these were ever in a different order; this indeed makes more sense.

@github-project-automation github-project-automation Bot moved this from In Progress to Ready to Review in OpenRewrite Jul 17, 2026
@timtebeek
timtebeek merged commit a5b7ddc into openrewrite:main Jul 17, 2026
1 check passed
@github-project-automation github-project-automation Bot moved this from Ready to Review to Done in OpenRewrite Jul 17, 2026
@rlsanders4
rlsanders4 deleted the java8 branch July 17, 2026 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants