mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
fix test
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<problems>
|
||||
<problem>
|
||||
<file>Test.java</file>
|
||||
<line>5</line>
|
||||
<line>6</line>
|
||||
<method>
|
||||
<name>void foo(boolean param)</name>
|
||||
<display_name>foo(boolean)</display_name>
|
||||
@@ -13,6 +13,6 @@
|
||||
</class>
|
||||
</method>
|
||||
<problem_class>Constant conditions & exceptions</problem_class>
|
||||
<description>Condition <code>CONST</code> is always <code>true</code>.</description>
|
||||
<description>Condition <code>b</code> is always <code>true</code>.</description>
|
||||
</problem>
|
||||
</problems>
|
||||
|
||||
@@ -3,7 +3,7 @@ public class Y {
|
||||
|
||||
public void foo(boolean param) {
|
||||
boolean b = CONST || param;
|
||||
if (CONST) {
|
||||
if (b) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user