mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-22 06:20:54 +07:00
8 lines
146 B
Java
8 lines
146 B
Java
// "Replace with '.of()'" "true-preview"
|
|
|
|
class A{
|
|
void test(String s){
|
|
assert s != null;
|
|
java.util.Optional.ofNullable(<caret>s);
|
|
}
|
|
} |