mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
moving tests to CE
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<problems>
|
||||
<problem>
|
||||
<file>Test.java</file>
|
||||
<line>6</line>
|
||||
<description>Condition 'i == j' is always true</description>
|
||||
</problem>
|
||||
</problems>
|
||||
@@ -0,0 +1,9 @@
|
||||
public class Test {
|
||||
private static final int CONST = 3/2 + 0*1;
|
||||
public void foo() {
|
||||
int i = 0;
|
||||
int j = 2 + (CONST) - 6/2;
|
||||
if (i == j) {
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user