Files
Andrey Cherkasov 468b4d470a [java] DeleteSwitchLabelFix must produce 'default:' instead of 'case default:'
IDEA-309550

GitOrigin-RevId: 3224934e68d9b0f9008fe7305f0209d3487a7f65
2023-01-04 12:39:33 +00:00

12 lines
289 B
Java

// "Remove switch label 'null'" "true-preview"
class Main {
void test(Integer i) {
switch (i) {
case 1, <caret>null, 2:
System.out.println("A");
break;
case null:
System.out.println("B");
}
}
}