mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-23 18:03:06 +07:00
11 lines
263 B
Java
11 lines
263 B
Java
import java.lang.*;
|
|
|
|
public 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();}
|
|
}
|