mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-28 21:30:23 +07:00
13 lines
236 B
Java
13 lines
236 B
Java
class C {
|
|
String test(int i) {
|
|
switch (i) {
|
|
case 0 ->{
|
|
return null;
|
|
}
|
|
case 1 -><weak_warning descr="Duplicate branch in 'switch'">{
|
|
return (null);
|
|
}</weak_warning>
|
|
}
|
|
return "";
|
|
}
|
|
} |