mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-02 14:38:30 +07:00
GitOrigin-RevId: 01bda01714863b5c174c85350542cb1c49440e42
16 lines
355 B
Java
16 lines
355 B
Java
class Test {
|
|
void test(int y){
|
|
<selection>String x;
|
|
switch (y){
|
|
case 3:
|
|
x = "1";
|
|
break;
|
|
case 5:
|
|
x = "2";
|
|
break;
|
|
default:
|
|
throw new IllegalArgumentException();
|
|
}</selection>
|
|
System.out.println(x);
|
|
}
|
|
} |