mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-06 01:06:54 +07:00
9 lines
262 B
Java
9 lines
262 B
Java
// "Wrap labeled rule's statement with code block" "GENERIC_ERROR_OR_WARNING"
|
|
class C {
|
|
String foo(int n) {
|
|
return switch (n) {
|
|
<caret>case 1 -> /*1*/ throw new RuntimeException(); /*2*/ //c3
|
|
default -> "b";
|
|
};
|
|
}
|
|
} |