mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
GitOrigin-RevId: 0be6faa7bd6ea391f53bc811fe8f3124424fd950
11 lines
194 B
Java
11 lines
194 B
Java
// "Replace with 'Math.min()' call" "true"
|
|
class Test {
|
|
|
|
void test(int a, int b, String s) {
|
|
int c = switch (s) {
|
|
case "foo" -> {
|
|
yield Math.min(b, a);
|
|
}
|
|
};
|
|
}
|
|
} |