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

10 lines
207 B
Java

// "Split values of 'switch' branch" "true"
class C {
void foo(int n) {
String s = switch (n) {
case 1 -> "x";
case 2 -> "x";
default -> "";
};
}
}