mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 22:17:05 +07:00
10 lines
243 B
Java
10 lines
243 B
Java
public class IsNullCheck {
|
|
void bar() {
|
|
final Value v = call();
|
|
if (Value.isNull(v)) {
|
|
if(<warning descr="Condition 'v == null' is always 'true'">v == null</warning>) {}
|
|
}
|
|
}
|
|
Value call() {return new Value();}
|
|
}
|