mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-31 02:38:54 +07:00
12 lines
253 B
Java
12 lines
253 B
Java
// "Move switch branch 'List i' before 'List n'" "false"
|
|
import java.util.List;
|
|
|
|
class Main {
|
|
void test(Object o) {
|
|
String str = switch (o) {
|
|
case List n -> "List";
|
|
case List i<caret> -> "List";
|
|
default -> "default";
|
|
};
|
|
}
|
|
} |