mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-11 11:36:59 +07:00
9 lines
259 B
Java
9 lines
259 B
Java
// "Wrap labeled rule's result expression with code block" "GENERIC_ERROR_OR_WARNING"
|
|
class C {
|
|
String foo(int n) {
|
|
return switch (n) {
|
|
<caret>case 1 -> /*1*/Integer.toString(/*2*/n);/*3*/
|
|
default -> "b";
|
|
};
|
|
}
|
|
} |