mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-09 16:39:37 +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) {
|
|
|
|
}
|
|
} |