Trailing whitespaces are considered incidental and stripped away by the Java compiler.
This inspection only reports if the configured language level is 15 or higher.
New in 2021.1