mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-23 04:27:40 +07:00
d0cf7b359a
GitOrigin-RevId: 8d646035979e3ec0a7de3c6f58a4e6ec9967bdbd
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();
|
|
}
|
|
}
|
|
} |