mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-21 21:50:54 +07:00
12 lines
289 B
Java
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");
|
|
}
|
|
}
|
|
} |