Edit me

??-????-2020 - 6.27.0-SNAPSHOT

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

This is a minor release.

New and noteworthy

Fixed Issues

  • core
    • #724: [core] Avoid parsing rulesets multiple times
  • java-performance
    • #2441: [java] RedundantFieldInitializer can not detect a special case for char initialize: char foo = '\0';

API Changes

  • XML rule definition in rulesets: In PMD 7, the language attribute will be required on all rule elements that declare a new rule. Some base rule classes set the language implicitly in their constructor, and so this is not required in all cases for the rule to work. But this behavior will be discontinued in PMD 7, so missing language attributes are now reported as a forward compatibility warning.

External Contributions

  • #2677: [java] RedundantFieldInitializer can not detect a special case for char initialize: char foo = '\0'; - Mykhailo Palahuta