mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-21 21:50:54 +07:00
9 lines
172 B
Java
9 lines
172 B
Java
// "Remove switch branch 'Integer i'" "true-preview"
|
|
class Test {
|
|
int foo(Object o) {
|
|
return switch (o) {
|
|
case Number n -> 1;
|
|
default -> 3;
|
|
};
|
|
}
|
|
} |