mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
10 lines
204 B
Java
10 lines
204 B
Java
// "Remove switch branch 'Integer i'" "true-preview"
|
|
class Test {
|
|
int foo(Object o) {
|
|
return switch (o) {
|
|
case Number n -> 1;
|
|
case Integer i<caret> -> 2;
|
|
default -> 3;
|
|
};
|
|
}
|
|
} |