mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-21 14:37:45 +07:00
10 lines
211 B
Java
10 lines
211 B
Java
// "Replace with Optional.ofNullable() chain" "false"
|
|
|
|
static class Test {
|
|
final String foo;
|
|
|
|
Test() {
|
|
String x = "foo";
|
|
System.out.println(x =<caret>= null ? (foo = "bar") : (foo = x.trim()));
|
|
}
|
|
} |