mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-22 14:50:53 +07:00
13 lines
273 B
Java
13 lines
273 B
Java
// "Copy 'switch' branch" "true-preview"
|
|
class C {
|
|
void foo(String s) {
|
|
String result = "";
|
|
switch (s) {
|
|
case "foo":
|
|
<caret>case null:
|
|
case "bar":
|
|
result = "x";
|
|
break;
|
|
}
|
|
}
|
|
} |