Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/splitSwitchBranchWithSeveralCaseValues/beforeNullLabel.java
Andrey.Cherkasov 9aa6ff59a6 [java-intentions] SplitSwitchBranchWithSeveralCaseValuesAction: add tests with pattern matching
GitOrigin-RevId: c4684094dc89266895a385cc5095416dc0dab77c
2021-07-21 15:58:43 +00:00

13 lines
265 B
Java

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