Files
openide/java/java-impl/resources/inspectionDescriptions/ContinueStatement.html
2025-02-05 04:43:28 +00:00

15 lines
340 B
HTML

<html>
<body>
Reports <code>continue</code> statements.
<p><code>continue</code> statements complicate refactoring and can be confusing.</p>
<p>Example:</p>
<pre><code>
void foo(List&lt;String&gt; strs) {
for (String str : strs) {
if (str.contains("skip")) continue;
handleStr(str);
}
}
</code></pre>
</body>
</html>