mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-05 06:01:30 +07:00
12 lines
172 B
Java
12 lines
172 B
Java
// "Replace with '.of()'" "true-preview"
|
|
import java.util.Optional;
|
|
|
|
import static java.util.Optional.*;
|
|
|
|
class A{
|
|
void of() {}
|
|
|
|
void test(){
|
|
Optional.of(11);
|
|
}
|
|
} |