mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
10 lines
237 B
Java
10 lines
237 B
Java
// "Remove switch label 'null'" "true-preview"
|
|
class X {
|
|
void test(String s) {
|
|
switch (s) {
|
|
case null -> System.out.println("null");
|
|
default -> System.out.println("null or default");
|
|
}
|
|
}
|
|
}
|