Skip to content

chore: bump rewrite-recipe-bom and integrate IsBlankToJdk and DefaultIfBlankToJdk recipes#1681

Merged
jonesbusy merged 3 commits intojenkins-infra:mainfrom
ap44444:chore/bump-rewrite-recipe-bom-clean
Apr 9, 2026
Merged

chore: bump rewrite-recipe-bom and integrate IsBlankToJdk and DefaultIfBlankToJdk recipes#1681
jonesbusy merged 3 commits intojenkins-infra:mainfrom
ap44444:chore/bump-rewrite-recipe-bom-clean

Conversation

@ap44444
Copy link
Copy Markdown
Contributor

@ap44444 ap44444 commented Apr 8, 2026

Bumps rewrite-recipe-bom from 3.26.1 to 3.28.0, which resolves rewrite-apache from2.23.2 to 2.24.0

rewrite-apache 2.24.0 includes two new recipes I contributed upstream in openrewrite/rewrite-apache#122 and openrewrite/rewrite-apache#124:

  • IsBlankToJdk: replaces StringUtils#isBlank/#isNotBlank with JDK equivalents
  • DefaultIfBlankToJdk: replaces StringUtils#defaultIfBlank with JDK equivalent

Both are added to MigrateCommonsLangToJdkApi's recipeList alongside the existing IsNotEmptyToJdk recipe.

Testing done

The upstream recipes are tested in openrewrite/rewrite-apache#122 and openrewrite/rewrite-apache#124. No additional tests are required here as the recipe wiring follows the same pattern as the existing IsNotEmptyToJdk entry.

The BOM bump was verified. All dependency changes are minor/patch increments with no major version jumps.

Notes

Also bumps jackson.version from 2.17.3 to 2.21.2 to resolve a conflict introduced by the new rewrite-bom requiring Jackson 2.21.x . The duplicate jackson.version property (silently set to 2.18.3) was also removed.
No behavioural change, only core stable Jackson APIs are used in this project.

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

@ap44444 ap44444 marked this pull request as ready for review April 8, 2026 18:24
@ap44444 ap44444 requested a review from jonesbusy as a code owner April 8, 2026 18:24
@jonesbusy
Copy link
Copy Markdown
Collaborator

Thanks!

@jonesbusy jonesbusy added chore dependencies Pull requests that update a dependency file labels Apr 9, 2026
@jonesbusy jonesbusy merged commit 6b7b54e into jenkins-infra:main Apr 9, 2026
17 checks passed
@ap44444 ap44444 deleted the chore/bump-rewrite-recipe-bom-clean branch April 9, 2026 05:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants