[Johnny Clasrk] IsNull IsNotNull True False Checks and Assertions (IDEA-35808)

This commit is contained in:
peter
2013-02-21 11:17:53 +01:00
parent 87f9d894f7
commit 0e12be8b66
16 changed files with 1821 additions and 0 deletions
@@ -0,0 +1,9 @@
public class IsNotNullCheck {
void bar() {
final Value v = call();
if (Value.isNotNull(v)) {
if(<warning descr="Condition 'v == null' is always 'false'">v == null</warning>) {}
}
}
Value call() {return new Value();}
}