mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 01:09:46 +07:00
9 lines
235 B
Java
9 lines
235 B
Java
// "Simplify 'Objects.nonNull(...)' to true extracting side effects" "true"
|
|
import java.util.Set;
|
|
import java.util.Objects;
|
|
|
|
class X {
|
|
void test(Set<String> set) {
|
|
boolean b = Objects.nonNull(set.<caret>add("foo"));
|
|
}
|
|
} |