Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 754 Bytes

SingleLineJavadoc.md

File metadata and controls

31 lines (18 loc) · 754 Bytes

Pattern: Possible misuse of single-line Javadoc comment

Issue: -

Description

Checks that a Javadoc block can fit in a single line and doesn't contain at-clauses. Javadoc comment that contains at least one at-clause should be formatted in a few lines.

Examples

Default configuration:

<module name="SingleLineJavadoc"/>

To specify a list of ignored at-clauses and make inline at-clauses not ignored:

<module name="SingleLineJavadoc">
    <property name="ignoredTags" value="@inheritDoc, @see"/>
    <property name="ignoreInlineTags" value="false"/>
</module>

Further Reading