mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
18 lines
424 B
Java
18 lines
424 B
Java
// "Invert 'if' condition" "true"
|
|
class B {
|
|
public static void foo() {
|
|
for (int i = 0; i < 10; i++) {
|
|
if (i % 2 == 0) {
|
|
<caret>if (i == 0) {
|
|
System.out.println("== 0");
|
|
continue;
|
|
}
|
|
|
|
System.out.println("!= 0");
|
|
continue;
|
|
}
|
|
|
|
System.out.println("i = " + i);
|
|
}
|
|
}
|
|
} |