Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/splitSwitchBranchWithSeveralCaseValues/afterNullLabel.java
T
2021-07-21 15:58:43 +00:00

15 lines
311 B
Java

// "Copy 'switch' branch" "true"
class C {
void foo(String s) {
String result = "";
switch (s) {
case "foo":
case "bar":
result = "x";
break;
case null:
result = "x";
break;
}
}
}