blob: 8babd43357b656a6480e008c1deb600fd32ee1ff [file]
// "Remove redundant steps from optional chain" "true"
import java.util.Optional;
public class Test {
public Optional<String> test() {
return getOpt();
}
private Optional<String> getOpt() {
return Optional.of("foo");
}
}