blob: 4bcec8baa059bfc978c47c35447b9883972729f6 [file]
<html>
<body>
Detects conditional breaks at the beginning or end of a loop and suggests to use a loop condition instead.
<!-- tooltip end -->
Example:
<p><code>
while(true) {
if(i == 23) break;
i++;
}
</code></p>
<p>Will be replaced with:
<p><code>
while(i != 23) {
i++;
}
</code></p>
</body>
</html>