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