mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-17 11:40:50 +07:00
11 lines
256 B
Java
11 lines
256 B
Java
import java.lang.*;
|
|
|
|
class AssertIsNull {
|
|
void bar() {
|
|
final Object o = call();
|
|
Assertions.assertIsNull(o);
|
|
if(<warning descr="Condition 'o == null' is always 'true'">o == null</warning>) {}
|
|
}
|
|
Object call() {return new Object();}
|
|
}
|