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