mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-30 10:39:51 +07:00
16 lines
288 B
Java
16 lines
288 B
Java
class C {
|
|
void foo(int n) {
|
|
switch (n) {
|
|
case 1:
|
|
bar("A");
|
|
break;
|
|
case 2:
|
|
bar("B");
|
|
break;
|
|
case 3:
|
|
<weak_warning descr="Duplicate branch in 'switch'">bar("A");</weak_warning>
|
|
break;
|
|
}
|
|
}
|
|
void bar(String s){}
|
|
} |