mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[java-highlighting] IDEA-284864 Improve reporting of always false while/for loops
GitOrigin-RevId: 9e7403383296cfa3c9478d8e635e592d31ba0518
This commit is contained in:
committed by
intellij-monorepo-bot
parent
ed94f6f07b
commit
7367405b46
+13
@@ -0,0 +1,13 @@
|
||||
public class AlwaysFalseForLoop {
|
||||
void test() {
|
||||
int i = 0;
|
||||
i++;
|
||||
|
||||
}
|
||||
|
||||
void test2() {
|
||||
for(int j=0; false; j++) {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user