mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
GitOrigin-RevId: 286e4a9fab64d19b039dc01e1a5618c1778d1d65
11 lines
290 B
Java
11 lines
290 B
Java
// "Wrap labeled rule's result expression with code block" "GENERIC_ERROR_OR_WARNING"
|
|
class C {
|
|
String foo(int n) {
|
|
return switch (n) {
|
|
case 1 -> /*1*/{
|
|
yield Integer.toString(/*2*/n);
|
|
}/*3*/
|
|
default -> "b";
|
|
};
|
|
}
|
|
} |