mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-06 08:00:18 +07:00
GitOrigin-RevId: fd52ace3d7a32ecd02c2c5ab90e077967604c15e
17 lines
293 B
Java
17 lines
293 B
Java
/*
|
|
Value is always false (foo > 3; line#13)
|
|
Left operand is 1 or 2 (foo; line#13)
|
|
'foo' was assigned (=; line#12)
|
|
*/
|
|
|
|
import org.jetbrains.annotations.Nullable;
|
|
|
|
class Test {
|
|
|
|
void test(boolean b) {
|
|
int foo = b ? 1 : 2;
|
|
if (<selection>foo > 3</selection>) {
|
|
|
|
}
|
|
}
|
|
} |