mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-09 16:39:37 +07:00
9 lines
195 B
Java
9 lines
195 B
Java
// "Use 'requireNonNullElse' method without lambda" "true"
|
|
|
|
import java.util.*;
|
|
|
|
class Test {
|
|
public String test(String foo, String bar) {
|
|
return Objects.requireNonNullElse(foo, bar);
|
|
}
|
|
} |