Files
openide/java/java-impl/resources/inspectionDescriptions/ForLoopWithMissingComponent.html
Leonid Shalupov 40795fe787 IJI-2422: community/java: move resources under resources root
GitOrigin-RevId: 8b2b63fc6db476ca0c2cfe5cadd84db6c4236d0f
2025-02-05 04:43:28 +00:00

18 lines
478 B
HTML

<html>
<body>
Reports <code>for</code> loops
that lack initialization, condition, or update clauses. Some coding styles prohibit such loops.
<p>Example:</p>
<pre><code>
for (int i = 0;;i++) {
// body
}
</code></pre>
<!-- tooltip end -->
<p>
Use the <b>Ignore collection iterations</b> option to ignore loops which use an iterator.
This is a standard way to iterate over a collection in which the <code>for</code> loop does not have an update clause.
<p>
</body>
</html>