Files
openide/plugins/groovy/groovy-psi/resources/inspectionDescriptions/GroovyEmptyStatementBody.html
alexey.afanasiev 892a0ba1fb [groovy] Proofreading inspections.
GitOrigin-RevId: 3f2da6a12ebc912aa0838ab3f7c01f939d29e94d
2021-06-07 21:47:27 +00:00

14 lines
317 B
HTML

<html>
<body>
Reports <code>if</code>, <code>while</code>, <code>do</code> or <code>for</code> statements
with empty bodies. While occasionally intended, this construction is confusing, and often the result of a typo.
<p><b>Example:</b></p>
<pre>
<code>
if (condition) {}
while(true){}
</code>
</pre>
</body>
</html>