mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-20 11:36:16 +07:00
13 lines
268 B
Java
13 lines
268 B
Java
interface I {
|
|
Object CONST = new Object();
|
|
}
|
|
|
|
class C {
|
|
void foo(Object o) {
|
|
if (o == I.CONST) return;
|
|
unknownMethod();
|
|
if (<warning descr="Condition 'o != I.CONST' is always 'true'">o != I.CONST</warning>) return;
|
|
}
|
|
|
|
native void unknownMethod();
|
|
} |