...
Placing a semicolon immediately following an if
, for
, or while
condition may result in unexpected behavior.
Automated Detection
Tool | Version | Checker | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
SonarQube Java Plugin |
| EmptyStatementUsageCheck |
Bibliography
§2.7.2, "Errors of Omission and Addition" |
...