mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-01 04:20:56 +07:00
16 lines
361 B
Java
16 lines
361 B
Java
// "Invert 'if' condition" "true"
|
|
class B {
|
|
public static void foo() {
|
|
for (int i = 0; i < 10; i++) {
|
|
if (i % 2 == 0) {
|
|
if (i != 0) {
|
|
System.out.println("!= 0");
|
|
}
|
|
else {
|
|
System.out.println("== 0");
|
|
}
|
|
|
|
}
|
|
}
|
|
}
|
|
} |