dfa: take into account known variable values when handling number comparisons (IDEA-126446)

This commit is contained in:
peter
2014-07-18 09:14:06 +02:00
parent 1aa6e7ac2b
commit 28870690fd
4 changed files with 74 additions and 24 deletions
@@ -20,6 +20,11 @@
<line>49</line>
<description>Switch label 'case 2:' is unreachable</description>
</problem>
<problem>
<file>CaseAndNpe.java</file>
<line>56</line>
<description>Condition &lt;code&gt;i &lt; 5&lt;/code&gt; is always &lt;code&gt;false&lt;/code&gt;</description>
</problem>
<problem>
<file>CaseAndNpe.java</file>
<line>80</line>