This inspection reports any instances of if, while, do or for statements having empty bodies. While occasionally intended, this construction is confusing, and often the result of a typo.

At present, this inspection is disabled in JSP files.

Use the checkbox below to indicate whether this inspection should report statements whose body is an empty code block, rather than just empty statements.