mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
13 lines
268 B
Java
13 lines
268 B
Java
class C {
|
|
void test(int n) {
|
|
String s = switch (n) {
|
|
case 1 -> "";
|
|
default -> {
|
|
if () {
|
|
throw new RuntimeException("a");
|
|
} else {
|
|
}
|
|
}
|
|
};
|
|
}
|
|
} |