mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-30 01:20:53 +07:00
22 lines
412 B
Java
22 lines
412 B
Java
// "Invert 'if' condition" "true"
|
|
class K {
|
|
private void bar(int i) {
|
|
switch(i) {
|
|
case 0:
|
|
if (!f(i)) {
|
|
i = 1;
|
|
break;
|
|
}
|
|
else {
|
|
return;
|
|
}
|
|
case 1:
|
|
i = 2;
|
|
}
|
|
}
|
|
|
|
private static boolean f(int i) {
|
|
return false;
|
|
}
|
|
}
|