IDEA-112358 'Constant Conditions' does not understand non-short-circuit 'or'

This commit is contained in:
peter
2013-08-21 19:08:48 +02:00
parent dbb57c5ddb
commit 78ecf28ff5
4 changed files with 60 additions and 6 deletions
@@ -36,4 +36,9 @@
<description>Condition &lt;code&gt;o&lt;/code&gt; at the left side of assignment expression is always &lt;code&gt;false&lt;/code&gt;. Can be simplified to normal assignment.</description>
</problem>
<problem>
<file>Test.java</file>
<line>52</line>
<description>Condition &lt;code&gt;o&lt;/code&gt; is always &lt;code&gt;true&lt;/code&gt;</description>
</problem>
</problems>