mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-23 20:05:01 +07:00
14 lines
362 B
Java
14 lines
362 B
Java
// "Unwrap code block of labeled rule" "LIKE_UNUSED_SYMBOL"
|
|
class C {
|
|
int foo(final int x, int n) {
|
|
return switch (x) {
|
|
case 0 -> {
|
|
<caret>break /*1*/ switch (n) { // 2
|
|
case 0 -> 0;
|
|
default -> 1;
|
|
}/*3*/; //4
|
|
}
|
|
default -> 2;
|
|
};
|
|
}
|
|
} |