...
Automated detection of condition expressions whose second and third operands are of different types is straightforward.
Bibliography
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b35a8c10-4fd5-469d-8720-7f7d422861b7"><ac:plain-text-body><![CDATA[[[Bloch 2005AA. References#Bloch 05]] | Puzzle 8: Dos Equis]]></ac:plain-text-body></ac:structured-macro> | <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="915868f1-8d13-4115-a969-dc2087a10f02"><ac:plain-text-body><![CDATA[ | |
[[Findbugs 2008AA. References#Findbugs 08]] | "Bx: Primitive value is unboxed and coerced for ternary operator"]]></ac:plain-text-body></ac:structured-macro><ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="a5524cdb-37cf-44f0-bbba-285b2435d3e2"><ac:plain-text-body><![CDATA | ||
[[[JLS 2005AA. References#JLS 05] ] | http://java.sun.com/docs/books/jls/third_edition/html/expressions.html#15.25] | ]]></ac:plain-text-body></ac:structured-macro> |
...
EXP11-J. Never dereference null pointers 02. Expressions (EXP) 03. Numeric Types and Operations (NUM)