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