mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-02 02:32:34 +07:00
GitOrigin-RevId: 21a0555c2fe6be705fe4d510c8d8d08238af4585
13 lines
297 B
Java
13 lines
297 B
Java
abstract class SuperTest {
|
|
public abstract boolean equals(Object object);
|
|
}
|
|
class Test extends SuperTest {
|
|
public boolean equals(Object o) {
|
|
if (o == null || getClass() != o.getClass()) return false;
|
|
return true;
|
|
}
|
|
|
|
public int hashCode() {
|
|
return 0;
|
|
}
|
|
} |