mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-07 15:35:40 +07:00
(IDEA-27229) GitOrigin-RevId: 12445a0a68c4a4d3f99a92cdabbb8a6288c16c6f
12 lines
291 B
Java
12 lines
291 B
Java
// "Move switch branch 'List n && 42 == 42' before 'List n'" "false"
|
|
import java.util.List;
|
|
|
|
class Main {
|
|
void test(Object o) {
|
|
String str = switch (o) {
|
|
case List n -> "List";
|
|
case List n && 42 == 42<caret> -> "List n && 42 == 42";
|
|
default -> "default";
|
|
};
|
|
}
|
|
} |