Edit me

29-January-2022 - 6.42.0-SNAPSHOT

The PMD team is pleased to announce PMD 6.42.0-SNAPSHOT.

This is a minor release.

New and noteworthy

Modified rules

  • The Apex rule ApexDoc has a new property reportProperty. If set to false (default is true if unspecified) doesn’t report missing ApexDoc comments on properties. It allows you to enforce ApexDoc comments for classes and methods without requiring them for properties.

Fixed Issues

  • java-bestpractices
    • #3209: [java] UnusedPrivateMethod false positive with static method and cast expression
    • #3468: [java] UnusedPrivateMethod false positive when outer class calls private static method on inner class
  • java-performance
    • #3492: [java] UselessStringValueOf: False positive when there is no initial String to append to

API Changes

External Contributions