mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-12 16:59:11 +07:00
GitOrigin-RevId: fd52ace3d7a32ecd02c2c5ab90e077967604c15e
17 lines
324 B
Java
17 lines
324 B
Java
/*
|
|
Value is always true (x < y; line#13)
|
|
Condition 'x < y' was checked before (x == y; line#9)
|
|
*/
|
|
class Test {
|
|
void test(int x, int y) {
|
|
if (x > y) return; // would be better to point also here, but acceptable
|
|
|
|
if (x == y) {
|
|
return;
|
|
}
|
|
|
|
if (<selection>x < y</selection>) {
|
|
return;
|
|
}
|
|
}
|
|
} |