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