mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-06 01:06:54 +07:00
8 lines
167 B
Java
8 lines
167 B
Java
// "Replace with 'isEmpty()'" "false"
|
|
import java.util.Optional;
|
|
|
|
public class Test {
|
|
void test(Optional<String> opt) {
|
|
if(!opt.is<caret>Present()) return;
|
|
}
|
|
} |