mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-30 18:20:52 +07:00
9 lines
172 B
Java
9 lines
172 B
Java
import java.util.Objects;
|
|
|
|
// "Replace 'switch' with 'if'" "true-preview"
|
|
class Test {
|
|
void test(Object obj) {
|
|
if (Objects.requireNonNull(obj) == 1) {
|
|
}
|
|
}
|
|
} |