Inspectopedia Help

Blank line should be replaced with <p> to break lines

Reports blank lines in Javadoc comments.

Blank lines in Javadoc may signal an intention split the text to different paragraphs. However, the Javadoc tool and IntelliJ IDEA will ignore them when rendering documentation comments.

The quick-fix suggests to replace the blank line with a paragraph tag (<p>).

Example:

class Main { /** * Doesn't do anything. * * Does absolutely nothing */ void foo() {} }

After the quick-fix is applied:

class Main { /** * Doesn't do anything. * <p> * Does absolutely nothing */ void foo() {} }

New in 2022.1

Inspection Details

Available in:

IntelliJ IDEA 2023.3, Qodana for JVM 2023.3

Plugin:

Java, 233.SNAPSHOT

Last modified: 13 July 2023