mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-02 02:32:34 +07:00
GitOrigin-RevId: 950de9dbd0cf727c6baa7363783e1723fb398a62
13 lines
356 B
Java
13 lines
356 B
Java
// "Unwrap code block of labeled rule" "GENERIC_ERROR_OR_WARNING"
|
|
class C {
|
|
int foo(final int x, int n) {
|
|
return switch (x) {
|
|
case 0 -> /*1*/ /*3*/ //4
|
|
switch (n) { // 2
|
|
case 0 -> 0;
|
|
default -> 1;
|
|
};
|
|
default -> 2;
|
|
};
|
|
}
|
|
} |