Skip to content

Extend CollectionRules Refaster rule collection#1945

Merged
Stephan202 merged 1 commit intomasterfrom
sschroevers/extend-CollectionRules
Nov 25, 2025
Merged

Extend CollectionRules Refaster rule collection#1945
Stephan202 merged 1 commit intomasterfrom
sschroevers/extend-CollectionRules

Conversation

@Stephan202
Copy link
Member

@Stephan202 Stephan202 commented Nov 1, 2025

❗ This PR is on top of #1927. ❗

Suggested commit message:

Extend `CollectionRules` Refaster rule collection (#1945)

Primarily by introducing rules for APIs introduced between Java 17 and 
Java 21.

@Stephan202 Stephan202 added this to the 0.27.0 milestone Nov 1, 2025
@github-actions
Copy link

github-actions bot commented Nov 1, 2025

Looks good. No mutations were possible for these changes.
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

Copy link
Collaborator

@mohamedsamehsalah mohamedsamehsalah left a comment

Choose a reason for hiding this comment

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

👥

@rickie rickie force-pushed the sschroevers/target-jdk-21 branch 2 times, most recently from 96f070e to 67d7d5f Compare November 6, 2025 15:45
Base automatically changed from sschroevers/target-jdk-21 to master November 6, 2025 16:09
@github-actions
Copy link

github-actions bot commented Nov 7, 2025

Looks good. No mutations were possible for these changes.
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

@Stephan202 Stephan202 force-pushed the sschroevers/extend-CollectionRules branch from 8226e7d to 76e2188 Compare November 8, 2025 11:37
@github-actions
Copy link

github-actions bot commented Nov 8, 2025

Looks good. No mutations were possible for these changes.
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

@Stephan202 Stephan202 force-pushed the sschroevers/extend-CollectionRules branch from 76e2188 to e1baa20 Compare November 11, 2025 21:21
@github-actions
Copy link

Looks good. No mutations were possible for these changes.
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

2 similar comments
@github-actions
Copy link

Looks good. No mutations were possible for these changes.
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

@github-actions
Copy link

Looks good. No mutations were possible for these changes.
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

Copy link
Member

@rickie rickie left a comment

Choose a reason for hiding this comment

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

Very cool, curious to roll this out!

Primarily by introducing rules for APIs introduced between Java 17 and
Java 21.
@rickie rickie force-pushed the sschroevers/extend-CollectionRules branch from e1baa20 to f45959c Compare November 25, 2025 16:11
@github-actions
Copy link

Suggested commit message:

Extend `CollectionRules` Refaster rule collection (#1945)

Introduce rules covering APIs added between Java 17 and Java 21, such
as `SequencedCollection#getFirst`/`getLast` and the new `List`
front/back helpers to prefer idiomatic usage over manual patterns.

Update the Refaster inputs and outputs so the new rules are
exercised by tests and regressions are caught early.

@github-actions
Copy link

Looks good. No mutations were possible for these changes.
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

@sonarqubecloud
Copy link

@Stephan202 Stephan202 merged commit 5363559 into master Nov 25, 2025
19 checks passed
@Stephan202 Stephan202 deleted the sschroevers/extend-CollectionRules branch November 25, 2025 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants