mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-22 14:50:53 +07:00
12 lines
270 B
Java
12 lines
270 B
Java
// "Remove unreachable branches" "true-preview"
|
|
class Test {
|
|
final String s = "abc";
|
|
|
|
int test() {
|
|
return switch (s) {
|
|
case <caret>String ss when ss.length() <= 3 -> 1;
|
|
case "fsd" -> 2;
|
|
default -> 3;
|
|
};
|
|
}
|
|
} |