Skip to content

[java] Remove unused ctConstIfNotNull method from ASTExpression.ConstResult - #7122

Merged
zbynek merged 1 commit into
pmd:mainfrom
UncleOwen:remove-ctConstIfNotNull
Oct 11, 2026
Merged

zbynek merged 1 commit into
pmd:mainfrom
UncleOwen:remove-ctConstIfNotNull

Conversation

@UncleOwen

Copy link
Copy Markdown
Member

Describe the PR

#7062 removed the last usage of ConstResult.ctConstIfNotNull. The method is now unused and untested. This PR removes the method.

Related issues

  • None

Ready?

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

@pmd-actions-helper

Copy link
Copy Markdown
Contributor

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, 0 errors and 0 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-09-28 15:20:03+00:00 for 6696f91)

@zbynek
zbynek merged commit 0c9fdc5 into pmd:main Oct 11, 2026
13 checks passed
@UncleOwen
UncleOwen deleted the remove-ctConstIfNotNull branch October 11, 2026 16:52
@adangel adangel added this to the 7.29.0 milestone Oct 15, 2026
@adangel adangel added the in:pmd-internals Affects PMD's internals label Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in:pmd-internals Affects PMD's internals

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants