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 propertyreportProperty
. If set tofalse
(default istrue
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
- java-performance
- #3492: [java] UselessStringValueOf: False positive when there is no initial String to append to
API Changes
External Contributions
- #3631: [java] Fixed False positive for UselessStringValueOf when there is no initial String to append to - John Armgardt
- #3683: [java] Fixed 3468 UnusedPrivateMethod false positive when outer class calls private static method on inner class - John Armgardt
- #3688: [java] Bump log4j to 2.16.0 - Sergey Nuyanzin
- #3693: [apex] ApexDoc: Add reportProperty property - Steve Babula
- #3713: [java] Enhance UnnecessaryModifier to support records - Vincent Galloy