mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-22 23:20:57 +07:00
14 lines
270 B
Java
14 lines
270 B
Java
// "Copy 'switch' branch" "true-preview"
|
|
class C {
|
|
void foo(int n) {
|
|
String s = "";
|
|
switch (n) {
|
|
case 1:
|
|
s = "x";
|
|
break;
|
|
case 2:
|
|
s = "x";
|
|
break;
|
|
}
|
|
}
|
|
} |