mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-18 22:42:49 +07:00
7e1064ea3c
GitOrigin-RevId: 22a46c15d8900d8a31514846755a013f6a67ad42
10 lines
207 B
Java
10 lines
207 B
Java
// "Split values of 'switch' branch" "true-preview"
|
|
class C {
|
|
void foo(int n) {
|
|
String s = "";
|
|
switch (n) {
|
|
case 2 -> s = "x";
|
|
case 1 -> s = "x";
|
|
}
|
|
}
|
|
} |