mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 20:42:52 +07:00
dfa: don't forget facts coming from boxed booleans after they're flushed
This commit is contained in:
@@ -35,5 +35,11 @@
|
||||
<line>51</line>
|
||||
<description>Condition <code>o</code> at the left side of assignment expression is always <code>false</code>. Can be simplified.</description>
|
||||
</problem>
|
||||
<problem>
|
||||
|
||||
<file>Test.java</file>
|
||||
<line>62</line>
|
||||
<description>Condition <code>o</code> is always <code>true</code></description>
|
||||
</problem>
|
||||
|
||||
</problems>
|
||||
|
||||
@@ -52,4 +52,14 @@ public class S {
|
||||
if (o) {
|
||||
}
|
||||
}
|
||||
|
||||
public void flushOriginal(boolean b){
|
||||
boolean o;
|
||||
{
|
||||
Boolean c = Boolean.FALSE;
|
||||
o = !c;
|
||||
}
|
||||
if (o) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user