mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-27 17:15:38 +07:00
8 lines
156 B
Java
8 lines
156 B
Java
// "Replace with 'isEmpty()'" "true"
|
|
import java.util.Optional;
|
|
|
|
public class Test {
|
|
void test(Optional<String> opt) {
|
|
if(opt.isEmpty()) return;
|
|
}
|
|
} |