Java
Statement with empty body
Warning
Last modified: 03 December 2024 Reports if
, while
, do
, for
, and switch
statements with empty bodies.
While occasionally intended, such code is confusing and is often the result of a typo.
- By ID
Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.
StatementWithEmptyBody
This inspection is disabled in JSP files.
Here you can find the description of settings available for the Statement with empty body inspection, and the reference of their default values.
Inspection Details | |
---|---|
By default bundled with: | |
Can be installed with plugin: | Java, 243.23126 |
Thanks for your feedback!
Was this page helpful?