mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-22 10:34:25 +07:00
10 lines
165 B
Java
10 lines
165 B
Java
// "Replace null check with orElse("")" "true"
|
|
|
|
import java.util.*;
|
|
|
|
public class Main {
|
|
|
|
public Person work(Optional<String> o) {
|
|
return o.orElse("");
|
|
}
|
|
} |