mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-08 21:52:48 +07:00
9 lines
228 B
Java
9 lines
228 B
Java
// "Replace with Optional.ofNullable() chain" "GENERIC_ERROR_OR_WARNING"
|
|
|
|
class Test {
|
|
String foo;
|
|
|
|
String select(Test other) {
|
|
return this.foo !<caret>= null ? other.foo.trim() + foo.trim() : other.foo+this.foo;
|
|
}
|
|
} |