mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-06 17:56:55 +07:00
16 lines
316 B
Java
16 lines
316 B
Java
class C {
|
|
void foo(int n) {
|
|
switch (n) {
|
|
case 2:
|
|
bar("B");
|
|
break;
|
|
default:
|
|
bar("A");
|
|
break;
|
|
case 1:
|
|
<weak_warning descr="Branch in 'switch' is a duplicate of the default branch">bar("A");</weak_warning>
|
|
break;
|
|
}
|
|
}
|
|
void bar(String s){}
|
|
} |