mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-08 10:58:45 +07:00
GitOrigin-RevId: 22a46c15d8900d8a31514846755a013f6a67ad42
13 lines
253 B
Java
13 lines
253 B
Java
// "Replace 'foo().equals(...)' with 'Objects.equals(foo(), ...)'" "true-preview"
|
|
|
|
import org.jetbrains.annotations.*;
|
|
|
|
import java.util.Objects;
|
|
|
|
class A{
|
|
void test(Object bar) {
|
|
if (Objects.equals(foo(), bar)) {}
|
|
}
|
|
|
|
@Nullable Object foo();
|
|
} |