Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/deleteSwitchLabel/afterDuplicateNullLabel.java
Andrey.Cherkasov c582d1c4c4 IDEA-273865 Duplicates in the switch: provide the quick-fix
GitOrigin-RevId: 4f4e0965726596bf9b188b16b100e13a0072b38b
2021-08-01 19:33:26 +00:00

12 lines
268 B
Java

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