Inspectopedia Help

Trailing whitespace in text block

Reports text blocks with trailing whitespace characters. Trailing whitespace is considered incidental and will be stripped away by the Java compiler.

This inspection depends on the Java feature 'Text block literals' which is available since Java 15.

New in 2021.1

Inspection Details

By default bundled with:

IntelliJ IDEA 2024.1, Qodana for JVM 2024.1,

Can be installed with plugin:

Java, 241.14841

Last modified: 12 March 2024