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