mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
18 lines
478 B
HTML
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> |