mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-27 04:22:42 +07:00
GitOrigin-RevId: 286e4a9fab64d19b039dc01e1a5618c1778d1d65
11 lines
271 B
Java
11 lines
271 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 "a";
|
|
} /*2*/
|
|
default -> "b";
|
|
};
|
|
}
|
|
} |