mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
don't unwrap do-while statement with break/continue inside (IDEA-CR-20896)
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
class Test {
|
||||
|
||||
public static void test(int b) {
|
||||
do {
|
||||
if (b == 1) break;
|
||||
System.out.println();
|
||||
} while (<warning descr="Condition is always false">fa<caret>lse</warning>);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user