mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-23 07:50:55 +07:00
9 lines
198 B
Java
9 lines
198 B
Java
// "Split values of 'switch' branch" "true-preview"
|
|
class C {
|
|
void foo(int n) {
|
|
String s = switch (n) {
|
|
<caret>case 1, 2 -> "x";
|
|
default -> "";
|
|
};
|
|
}
|
|
} |