mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Revert: perform arithmetic operations during dfa (part of IDEA-143315) (ea61e3e9e6)
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
class Test {
|
||||
{
|
||||
int a = 0;
|
||||
int b = a;
|
||||
System.out.println(<warning descr="Condition 'a == b' is always 'true'">a == b</warning>);
|
||||
System.out.println(a - b);
|
||||
}
|
||||
|
||||
{
|
||||
int a = 1;
|
||||
int b = -3;
|
||||
System.out.println(<warning descr="Condition 'a == b' is always 'false'">a == b</warning>);
|
||||
if (<warning descr="Condition 'a + b + 2 == 0' is always 'true'">a + b + 2 == 0</warning>) {
|
||||
System.out.println("a");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user