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] CommentRequired property names are inconsistent #1683
CommentRequired calls the class-level JavaDoc comment a "header comment". Usually, the header comment is a top-level comment before the package declaration (ie: license).
The behavior should be aligned with the property name, and a new property be added, so we can configure and check both for header comments and class comments.
Activity
adangel commentedon Dec 17, 2019
I've decided not to add a header/package comment requirement property for the following reasons (see #2069):
The rule is only about javadoc/formal comments. license comments should actually not be a javadoc comment.
[java] CommentRequired: Separate header comment from class comment an…
[java] CommentRequired: Make headerCommentRequirement ignored by defa…
[doc] Update release notes, refs pmd#2069, fixes pmd#1683