mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-19 10:20:56 +07:00
10 lines
235 B
Java
10 lines
235 B
Java
class Main {
|
|
void test(Object o) {
|
|
switch (o) {
|
|
case Long <caret>l when l != null ->
|
|
System.out.println("Long: " + l);
|
|
default ->
|
|
System.out.println();
|
|
}
|
|
}
|
|
} |