mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 22:17:05 +07:00
10 lines
215 B
Java
10 lines
215 B
Java
interface I {
|
|
Object CONST = new Object();
|
|
}
|
|
|
|
class C {
|
|
void foo(Object o) {
|
|
if (o == I.CONST) return;
|
|
if (<warning descr="Condition 'o != I.CONST' is always 'true'">o != I.CONST</warning>) return;
|
|
}
|
|
} |