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