Skip to content

dependency: bump org.openrewrite.recipe:rewrite-migrate-java from 3.22.0 to 3.24.0#18322

Merged
romani merged 3 commits into
masterfrom
dependabot/maven/org.openrewrite.recipe-rewrite-migrate-java-3.24.0
Jan 6, 2026
Merged

dependency: bump org.openrewrite.recipe:rewrite-migrate-java from 3.22.0 to 3.24.0#18322
romani merged 3 commits into
masterfrom
dependabot/maven/org.openrewrite.recipe-rewrite-migrate-java-3.24.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 16, 2025

Copy link
Copy Markdown
Contributor

Bumps org.openrewrite.recipe:rewrite-migrate-java from 3.22.0 to 3.24.0.

https://forums.oracle.com/ords/apexds/post/get-rid-of-the-famous-get-0-and-get-list-size-1-5876
https://docs.openrewrite.org/recipes/java/migrate/util/listfirstandlast

AI generation:

Key Benefits:
Readability: list.first() is much clearer than list.get(0) or list.get(list.size()-1).
Simplicity: Reduces the need for index calculations, making code shorter and cleaner.
Modernization: Aligns Java with patterns seen in other languages and proposals, improving API design.
Efficiency: Can be more performant for certain data structures where accessing the start/end is optimized.
Consistency: Provides uniform methods across different SequencedCollection types (like LinkedList, ArrayDeque).

Release notes

Sourced from org.openrewrite.recipe:rewrite-migrate-java's releases.

3.24.0

What's Changed

New Contributors

Full Changelog: openrewrite/rewrite-migrate-java@v3.23.0...v3.24.0

3.23.0

What's Changed

New Contributors

Full Changelog: openrewrite/rewrite-migrate-java@v3.22.0...v3.23.0

Commits
  • 7592e24 Do not include UseEnumSetOf with chained Java upgrades
  • 195efc5 Avoid opinionated empty EnumSet by default (#959)
  • 6bcd03a Reorder maybeRemoveImport before maybeAddImport (#957)
  • 4a873ab [Auto] SDKMAN! Java candidates as of 2025-12-15T1020
  • d7b0867 UseLombokGetter recipe: fix IndexOutOfBoundsException that occurs when visi...
  • c24a7a6 Lombok: add onMethod_ argument If getter/setter method is annotated (#955)
  • 937bf9b Migrate to jakarta.mail-api:2.1.x as part of Jakarta EE 10 upgrade (#954)
  • 073965a [Auto] SDKMAN! Java candidates as of 2025-12-08T1018
  • 2dd09ee Update tests to reflect removed Sdkman versions
  • 95bca99 [Auto] SDKMAN! Java candidates as of 2025-12-01T1018
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Dec 16, 2025
romani added a commit that referenced this pull request Dec 18, 2025
@romani romani force-pushed the dependabot/maven/org.openrewrite.recipe-rewrite-migrate-java-3.24.0 branch from 8a625ba to 6c8b6b8 Compare December 18, 2025 13:52
@romani

romani commented Dec 26, 2025

Copy link
Copy Markdown
Member

@Pankraz76, can you help us do this upgrade, I tried to do simple patch update on what autoupdate is doing, but looks like there is issue.

I see all your other PRs, that are not forgotten, but have huge acitivity in PRs, so it is not easy to manage all this traffic.

@Pankraz76

Copy link
Copy Markdown

yes sorry, of course I will help.

@Pankraz76

Pankraz76 commented Dec 26, 2025

Copy link
Copy Markdown

also kindly asking to be check maintainer as well, to be able to fix this the right way, by pushing here.

Also want to help look after dependa, updating patches right away to give space and attention to real maintainers doing real issues.

final Configuration result;
final List<Configuration> configs = getModuleConfigs(masterConfig, moduleName);
if (configs.size() == 1) {
result = configs.get(0);

@Pankraz76 Pankraz76 Dec 26, 2025

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

hm i had no changed, this is 21 and will therefore break.

@Pankraz76

Copy link
Copy Markdown

@Pankraz76

Copy link
Copy Markdown

@Pankraz76, can you help us do this upgrade, I tried to do simple patch update on what autoupdate is doing, but looks like there is issue.

no!

no need to waste effort onto checkstyle anymore.

Pretenting to have 100% quality and not passing prone and PMD is a very nice hilarious joke, but not some real considerable software.

dependabot Bot and others added 2 commits January 4, 2026 19:43
Bumps [org.openrewrite.recipe:rewrite-migrate-java](https://github.com/openrewrite/rewrite-migrate-java) from 3.22.0 to 3.24.0.
- [Release notes](https://github.com/openrewrite/rewrite-migrate-java/releases)
- [Commits](openrewrite/rewrite-migrate-java@v3.22.0...v3.24.0)

---
updated-dependencies:
- dependency-name: org.openrewrite.recipe:rewrite-migrate-java
  dependency-version: 3.24.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
romani added a commit that referenced this pull request Jan 5, 2026
@romani romani force-pushed the dependabot/maven/org.openrewrite.recipe-rewrite-migrate-java-3.24.0 branch from 6c8b6b8 to 8be1908 Compare January 5, 2026 03:45
romani added a commit that referenced this pull request Jan 5, 2026
@romani romani force-pushed the dependabot/maven/org.openrewrite.recipe-rewrite-migrate-java-3.24.0 branch from 8be1908 to b91638e Compare January 5, 2026 03:53
romani added a commit that referenced this pull request Jan 5, 2026
@romani romani force-pushed the dependabot/maven/org.openrewrite.recipe-rewrite-migrate-java-3.24.0 branch from b91638e to af66941 Compare January 5, 2026 04:14
@romani

romani commented Jan 5, 2026

Copy link
Copy Markdown
Member

[ERROR] [checkstyle] [ERROR] C:\projects\checkstyle\src\test\java\com\puppycrawl\tools\checkstyle\filters\SuppressWithNearbyCommentFilterTest.java:524: Line is longer than 100 characters. Current line length is 101. [LineLengthExtended]

@romani romani force-pushed the dependabot/maven/org.openrewrite.recipe-rewrite-migrate-java-3.24.0 branch from af66941 to 6abba92 Compare January 5, 2026 13:29
@romani

romani commented Jan 6, 2026

Copy link
Copy Markdown
Member

train is moving forward .... slow but moving.

@romani romani merged commit 3562ef2 into master Jan 6, 2026
120 checks passed
@romani romani deleted the dependabot/maven/org.openrewrite.recipe-rewrite-migrate-java-3.24.0 branch January 6, 2026 13:26
@github-actions github-actions Bot added this to the 13.0.1 milestone Jan 6, 2026
0xChaitanya pushed a commit to 0xChaitanya/checkstyle that referenced this pull request Jan 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update Java code miscellaneous

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants