We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5331a4 commit 1d007b6Copy full SHA for 1d007b6
java/ql/test/query-tests/ContinueInFalseLoop/A.java
@@ -30,21 +30,21 @@ void test1(int x, Cond c) {
30
break;
31
} while (c.cond());
32
33
- // --- while, for loops ---
34
35
- while (c.cond()) {
36
- if (c.cond())
37
- continue; // GOOD [never reached, if the condition changed so it was then the result would no longer apply]
38
39
- break;
40
- }
41
42
- for (i = 0; c.cond(); i++) {
43
44
45
46
47
+
48
49
// --- nested loops ---
50
0 commit comments