mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-30 18:13:36 +07:00
GitOrigin-RevId: 0be6faa7bd6ea391f53bc811fe8f3124424fd950
12 lines
218 B
Java
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;
|
|
}
|
|
};
|
|
}
|
|
} |