Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/splitSwitchBranchWithSeveralCaseValues/afterMiddleLabel.java

15 lines
289 B
Java

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