Files
2022-01-31 10:13:14 +00:00

12 lines
218 B
Java

// "Replace with 'Math.min()' call" "true"
class Test {
void test(int a, int b, String s) {
int c = switch (s) {
case "foo" -> {
if<caret>(b > a) yield a;
else yield b;
}
};
}
}