You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[java] UnnecessaryConstructor: False positive for JavaDoc-bearing constructor #6284
An empty public no-arg constructor that bears JavaDoc is not unnecessary.
Without it, the JavaDoc tool renders the auto-generated default constructor to the docs, without any description.
Newer JavaDoc tool versions even give a doclint warning about it, that by IntelliJ is even displayed as error.
Expected outcome:
PMD reports a violation but that's wrong. That's a false positive.
changed the title [-][java] `UnnecessaryConstructor` reporting false-positive on JavaDoc-bearing constructor[/-][+][java] UnnecessaryConstructor: False positive for JavaDoc-bearing constructor[/+]on Dec 22, 2025
Activity
[-][java] `UnnecessaryConstructor` reporting false-positive on JavaDoc-bearing constructor[/-][+][java] UnnecessaryConstructor: False positive for JavaDoc-bearing constructor[/+][java] Fix pmd#6284: UnnecessaryConstructor reporting false-positive …
RM-37163: CPD 7.21.0 upgrade (#8)