dfa: don't report parenthesized condition (IDEA-27427)

This commit is contained in:
peter
2015-07-10 20:38:55 +02:00
parent da6bf872ab
commit 1f354e0e3d
3 changed files with 9 additions and 1 deletions
@@ -0,0 +1,7 @@
class Fun {
void smthComplex() {
Object n = new Integer(1);
String result = ((<warning descr="Condition 'n != null' is always 'true'">n != null</warning>) ? n.toString() : "");
}
}