mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-29 16:50:55 +07:00
13 lines
245 B
Java
13 lines
245 B
Java
// "Replace 'foo().equals(...)' with 'Objects.equals(foo(), ...)'" "true"
|
|
|
|
import org.jetbrains.annotations.*;
|
|
|
|
import java.util.Objects;
|
|
|
|
class A{
|
|
void test(Object bar) {
|
|
if (Objects.equals(foo(), bar)) {}
|
|
}
|
|
|
|
@Nullable Object foo();
|
|
} |