Changes between Version 1 and Version 2 of Ticket #24635, comment 24


Ignore:
Timestamp:
2026-09-13T23:41:07+02:00 (3 weeks ago)
Author:
gaben

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24635, comment 24

    v1 v2  
    11So as you see I used PMD 7.27 (not updated in Ant and Ivy yet), but with the current 7.22 the config change not causing anything meaningful change, maybe one more false positive.
    22
    3 PMD config: I removed the obsolete excludes that are no longer in version 7.x. I also removed e.g. the `InefficientEmptyStringCheck` rule, since Java 11+ has the `isBlank()` method, and a few more, which do not report violations on the trunk version.
     3PMD config: I removed the obsolete excludes that are no longer in version 7.x. I also removed e.g. the `InefficientEmptyStringCheck` performance rule ''exclusion'', since Java 11+ has the `isBlank()` method, and a few more, which do not report violations on the trunk version.
    44
    55What remains that I don't like is the rule `ExhaustiveSwitchHasDefault`; it's a bit noisy in my opinion. There are also a few `OverrideBothEqualsAndHashCodeOnComparable`.