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