Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/splitSwitchBranchWithSeveralCaseValues/beforeCaseDefaultLabel.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
247 B
Java

// "Copy 'switch' branch" "true"
class C {
void foo(int n) {
String s = "";
switch (n) {
case 1:
<caret>case default:
case 2:
s = "x";
break;
}
}
}