mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-26 12:20:55 +07:00
12 lines
290 B
Java
12 lines
290 B
Java
// "Remove switch branch 'null'" "true-preview"
|
|
class Main {
|
|
void test(Integer i) {
|
|
switch (i) {
|
|
case 1, null, 2:
|
|
System.out.println("A");
|
|
break;
|
|
case <caret>null:
|
|
System.out.println("B");
|
|
}
|
|
}
|
|
} |