blob: 469b2e1126e7fd79a087f9577019e5e7c988a45b [file]
// "Replace condition with Objects.requireNonNullElseGet" "true"
import java.util.*;
class Util {
String method(String s) {return s;}
}
class Test {
public void test(Object o) {
Object another;
if<caret>(o == null) {
another = new Object();
} else {
another = o;
}
}
}