mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 09:39:37 +07:00
12 lines
241 B
Java
12 lines
241 B
Java
// "Remove unreachable branches" "true-preview"
|
|
class Test {
|
|
final String s = "abc";
|
|
|
|
int test() {
|
|
return switch (s) {
|
|
case <caret>String ss && ss.length() <= 3 -> 1;
|
|
case "fsd" -> 2;
|
|
case default -> 3;
|
|
};
|
|
}
|
|
} |