mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-22 04:43:02 +07:00
9 lines
182 B
Java
9 lines
182 B
Java
// "Replace condition with Objects.requireNonNullElseGet" "true"
|
|
|
|
import java.util.*;
|
|
|
|
class Test {
|
|
public void test(Object o) {
|
|
o = (o) <caret>!= null? o : new Object();
|
|
}
|
|
} |