Skip to content

LocalVariableCouldBeFinalRule: Revert API change#6687

Merged
UncleOwen merged 2 commits into
pmd:mainfrom
UncleOwen:revert-api-change
May 16, 2026
Merged

LocalVariableCouldBeFinalRule: Revert API change#6687
UncleOwen merged 2 commits into
pmd:mainfrom
UncleOwen:revert-api-change

Conversation

@UncleOwen
Copy link
Copy Markdown
Member

@UncleOwen UncleOwen commented May 16, 2026

Describe the PR

In 133c2e1 I changed the public API of LocalVariableCouldBePublic.visit(). This was not caught by japicmp-0.25.6, but is caught by 0.25.7. Fortunately, this commit hasn't made it into a release yet.

This PR reverts this change.

Related issues

Ready?

  • [n/a] Added unit tests for fixed bug/feature
  • Passing all unit tests
  • Complete build ./mvnw clean verify passes (checked automatically by github actions)
  • [n/a] Added (in-code) documentation (if needed)

@UncleOwen UncleOwen added this to the 7.25.0 milestone May 16, 2026
@pmd-actions-helper
Copy link
Copy Markdown
Contributor

pmd-actions-helper Bot commented May 16, 2026

Documentation Preview

Compared to main:
This changeset changes 0 violations,
introduces 0 new violations, 0 new errors and 0 new configuration errors,
removes 0 violations, 15 errors and 9 configuration errors.
There are 0 changed duplications, 0 new duplications and 0 removed duplications.
There are 0 changed CPD errors, 0 new CPD errors and 0 removed CPD errors.

Regression Tester Report

(comment created at 2026-05-16 09:48:37+00:00 for 5e69ee9)

@UncleOwen UncleOwen requested review from adangel and zbynek May 16, 2026 09:27
@UncleOwen UncleOwen merged commit a9c13bf into pmd:main May 16, 2026
13 checks passed
@UncleOwen UncleOwen deleted the revert-api-change branch May 16, 2026 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[java] LocalVariableCouldBeFinalRule API changed

2 participants