mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-09 14:06:54 +07:00
10 lines
203 B
Java
10 lines
203 B
Java
// "Split values of 'switch' branch" "true-preview"
|
|
class C {
|
|
void foo(String o) {
|
|
switch (o) {
|
|
case "42" -> {}
|
|
case String s when s.isEmpty() -> {}
|
|
}
|
|
}
|
|
}
|