Skip to content

Files

Latest commit

 

History

History
24 lines (17 loc) · 632 Bytes

JavadocEmptyAuthorTag.md

File metadata and controls

24 lines (17 loc) · 632 Bytes

Pattern: Empty @author tag

Issue: -

Description

Checks for empty @author tags within javadoc. Known limitation: Only the first occurrence of an empty @author within a javadoc comment is found.

Example of violations:

/**
 * Return the calculated count of some stuff.
 *
 * @param startIndex - the starting index
 * @return the count
 * @author                                             // violation
 */
int countThings(int startIndex) { }

Further Reading