Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 5, 2026

Bumps pmd.version from 7.19.0 to 7.20.0.
Updates net.sourceforge.pmd:pmd-core from 7.19.0 to 7.20.0

Release notes

Sourced from net.sourceforge.pmd:pmd-core's releases.

PMD 7.20.0 (30-December-2025)

30-December-2025 - 7.20.0

The PMD team is pleased to announce PMD 7.20.0.

This is a minor release.

Table Of Contents

🌟️ Changed Rules

  • The Java rule OnlyOneReturn has a new property ignoredMethodNames. This property by default is set to compareTo and equals, thus this rule now by default allows multiple return statements for these methods. To restore the old behavior, simply set this property to an empty value.

🐛️ Fixed Issues

  • core
    • #6330: [core] "Unable to create ValueRepresentation" when using @LiteralText (XPath)
  • java
    • #6234: [java] Parser fails to parse switch expressions in super() constructor calls
    • #6299: [java] Fix grammar of switch label
  • java-bestpractices
    • #4282: [java] GuardLogStatement: False positive when guard is not a direct parent
    • #6028: [java] UnusedPrivateMethod: False positive with raw type for generic method
    • #6257: [java] UnusedLocalVariable: False positive with instanceof pattern guard
    • #6291: [java] EnumComparison: False positive for any object when object.equals(null)
    • #6328: [java] UnusedLocalVariable: False positive for pattern variable in for-each without braces
  • java-codestyle
    • #4257: [java] OnlyOneReturn: False positive with equals method
    • #5043: [java] LambdaCanBeMethodReference: False positive on overloaded methods
    • #6237: [java] UnnecessaryCast: ContextedRuntimeException when parsing switch expression with lambdas
    • #6279: [java] EmptyMethodInAbstractClassShouldBeAbstract: False positive for final empty methods
    • #6284: [java] UnnecessaryConstructor: False positive for JavaDoc-bearing constructor
  • java-errorprone
    • #6276: [java] NullAssignment: False positive when assigning null to a final field in a constructor
    • #6343: [java] MissingStaticMethodInNonInstantiatableClass: False negative when method in nested class returns null
  • java-performance
    • #4158: [java] BigIntegerInstantiation: False negative with compile-time constant
    • #4910: [java] ConsecutiveAppendsShouldReuse: False positive within if-statement without curly braces
    • #5877: [java] AvoidArrayLoops: False negative when break inside switch statement

... (truncated)

Commits
  • fa478ec [release] prepare release pmd_releases/7.20.0
  • 0be0d64 Prepare pmd release 7.20.0
  • 32ceb3f Update all-contributors
  • cbc6795 [doc] Update last_updated for 3rdpartyrulesets.md
  • dba6ca6 [apex] Add sca-extra ruleset for Salesforce Apex testing (#6363)
  • 668a733 Add sca-extra ruleset for Salesforce Apex testing
  • e4c75fd [vf] Fix invalid Javadoc syntax in VfDocStyleTest (#6361)
  • b5bf8fd [java] Fix #4158: BigIntegerInstantiation false-negative with compile-time co...
  • eb35c75 [doc] Update release notes (#4158)
  • e685043 [java] Fix #6234: Parser fails to parse switch expressions in super() constru...
  • Additional commits viewable in compare view

Updates net.sourceforge.pmd:pmd-java from 7.19.0 to 7.20.0

Release notes

Sourced from net.sourceforge.pmd:pmd-java's releases.

PMD 7.20.0 (30-December-2025)

30-December-2025 - 7.20.0

The PMD team is pleased to announce PMD 7.20.0.

This is a minor release.

Table Of Contents

🌟️ Changed Rules

  • The Java rule OnlyOneReturn has a new property ignoredMethodNames. This property by default is set to compareTo and equals, thus this rule now by default allows multiple return statements for these methods. To restore the old behavior, simply set this property to an empty value.

🐛️ Fixed Issues

  • core
    • #6330: [core] "Unable to create ValueRepresentation" when using @LiteralText (XPath)
  • java
    • #6234: [java] Parser fails to parse switch expressions in super() constructor calls
    • #6299: [java] Fix grammar of switch label
  • java-bestpractices
    • #4282: [java] GuardLogStatement: False positive when guard is not a direct parent
    • #6028: [java] UnusedPrivateMethod: False positive with raw type for generic method
    • #6257: [java] UnusedLocalVariable: False positive with instanceof pattern guard
    • #6291: [java] EnumComparison: False positive for any object when object.equals(null)
    • #6328: [java] UnusedLocalVariable: False positive for pattern variable in for-each without braces
  • java-codestyle
    • #4257: [java] OnlyOneReturn: False positive with equals method
    • #5043: [java] LambdaCanBeMethodReference: False positive on overloaded methods
    • #6237: [java] UnnecessaryCast: ContextedRuntimeException when parsing switch expression with lambdas
    • #6279: [java] EmptyMethodInAbstractClassShouldBeAbstract: False positive for final empty methods
    • #6284: [java] UnnecessaryConstructor: False positive for JavaDoc-bearing constructor
  • java-errorprone
    • #6276: [java] NullAssignment: False positive when assigning null to a final field in a constructor
    • #6343: [java] MissingStaticMethodInNonInstantiatableClass: False negative when method in nested class returns null
  • java-performance
    • #4158: [java] BigIntegerInstantiation: False negative with compile-time constant
    • #4910: [java] ConsecutiveAppendsShouldReuse: False positive within if-statement without curly braces
    • #5877: [java] AvoidArrayLoops: False negative when break inside switch statement

... (truncated)

Commits
  • fa478ec [release] prepare release pmd_releases/7.20.0
  • 0be0d64 Prepare pmd release 7.20.0
  • 32ceb3f Update all-contributors
  • cbc6795 [doc] Update last_updated for 3rdpartyrulesets.md
  • dba6ca6 [apex] Add sca-extra ruleset for Salesforce Apex testing (#6363)
  • 668a733 Add sca-extra ruleset for Salesforce Apex testing
  • e4c75fd [vf] Fix invalid Javadoc syntax in VfDocStyleTest (#6361)
  • b5bf8fd [java] Fix #4158: BigIntegerInstantiation false-negative with compile-time co...
  • eb35c75 [doc] Update release notes (#4158)
  • e685043 [java] Fix #6234: Parser fails to parse switch expressions in super() constru...
  • Additional commits viewable in compare view

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)

Bumps `pmd.version` from 7.19.0 to 7.20.0.

Updates `net.sourceforge.pmd:pmd-core` from 7.19.0 to 7.20.0
- [Release notes](https://github.com/pmd/pmd/releases)
- [Commits](pmd/pmd@pmd_releases/7.19.0...pmd_releases/7.20.0)

Updates `net.sourceforge.pmd:pmd-java` from 7.19.0 to 7.20.0
- [Release notes](https://github.com/pmd/pmd/releases)
- [Commits](pmd/pmd@pmd_releases/7.19.0...pmd_releases/7.20.0)

---
updated-dependencies:
- dependency-name: net.sourceforge.pmd:pmd-core
  dependency-version: 7.20.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: net.sourceforge.pmd:pmd-java
  dependency-version: 7.20.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Jan 5, 2026
@github-actions github-actions bot enabled auto-merge (squash) January 5, 2026 06:05
@github-actions
Copy link

github-actions bot commented Jan 5, 2026

Unit Test Results

184 tests   184 ✔️  0s ⏱️
  12 suites      0 💤
  12 files        0

Results for commit ced154a.

@codecov
Copy link

codecov bot commented Jan 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 62.43%. Comparing base (a291452) to head (ced154a).
⚠️ Report is 16 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #152      +/-   ##
============================================
- Coverage     62.69%   62.43%   -0.26%     
+ Complexity      428      426       -2     
============================================
  Files            40       40              
  Lines          1544     1544              
  Branches        252      252              
============================================
- Hits            968      964       -4     
- Misses          454      456       +2     
- Partials        122      124       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions github-actions bot merged commit 455fa5d into main Jan 5, 2026
6 of 7 checks passed
@github-actions github-actions bot deleted the dependabot/maven/pmd.version-7.20.0 branch January 5, 2026 06:07
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant