mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 16:36:56 +07:00
7 lines
177 B
Java
7 lines
177 B
Java
// "Replace with Optional.ofNullable() chain" "GENERIC_ERROR_OR_WARNING"
|
|
|
|
class Test {
|
|
String select(String foo, String bar) {
|
|
return foo =<caret>= null ? bar : foo;
|
|
}
|
|
} |