Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/splitSwitchBranchWithSeveralCaseValues/afterCaseDefaultLabel.java
2023-07-14 16:14:45 +00:00

15 lines
291 B
Java

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