mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 17:20:54 +07:00
14 lines
198 B
Java
14 lines
198 B
Java
// "Wrap using 'java.util.Optional'" "true-preview"
|
|
import java.util.Optional;
|
|
|
|
public class Test {
|
|
|
|
void m(String ss) {
|
|
f(Optional.ofNullable(ss));
|
|
}
|
|
|
|
|
|
void f(Optional<String> o) {
|
|
|
|
}
|
|
} |