mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-07 15:35:40 +07:00
32 lines
753 B
Java
32 lines
753 B
Java
// "Merge with 'case 1'" "GENERIC_ERROR_OR_WARNING"
|
|
class C {
|
|
void foo(int n, boolean b) {
|
|
switch (n) {
|
|
case 1:
|
|
if(b) {
|
|
bar("A");
|
|
} else {
|
|
bar("z");
|
|
}
|
|
bar("o");
|
|
break;
|
|
case 2:
|
|
if(b) {
|
|
bar("B");
|
|
} else {
|
|
bar("z");
|
|
}
|
|
bar("o");
|
|
break;
|
|
case 3:
|
|
if(b) {<caret>
|
|
bar("A");
|
|
} else {
|
|
bar("z");
|
|
}
|
|
bar("o");
|
|
break;
|
|
}
|
|
}
|
|
void bar(String s){}
|
|
} |