mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-17 11:40:50 +07:00
11 lines
250 B
Java
11 lines
250 B
Java
class IsNullCheck {
|
|
void bar() {
|
|
final Value v = call();
|
|
if (Value.isNull(v)) {
|
|
return;
|
|
}
|
|
if(<warning descr="Condition 'v == null' is always 'false'">v == null</warning>) {}
|
|
}
|
|
Value call() {return new Value();}
|
|
}
|