...
In this noncompliant code example, a semicolon is used on the same line as an if statement.
| Code Block | ||
|---|---|---|
| ||
if (a == b); {
/* ... */
}
|
...
EXP15-C. Do not place a semicolon on the same line as an if, for, or while statement | ||||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="385bbd183c9c6a84-1f704832-41054d00-9811b831-293e7e686184397d3df9203a"><ac:plain-text-body><![CDATA[ | [ISO/IEC TR 24772:2010 | http://www.aitcnet.org/isai/] | "Likely Incorrect Expression [java:KOA]" | ]]></ac:plain-text-body></ac:structured-macro> |
...
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="63aedb00ed6ac93a-c7b5c04b-4fa442ca-9b6582d9-240c24b52b67e9ebe6a64441"><ac:plain-text-body><![CDATA[ | [java:Hatton 1995] | Section 2.7.2, "Errors of omission and addition" | ]]></ac:plain-text-body></ac:structured-macro> |
...