mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 06:05:01 +07:00
move tests to community
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
abstract class SuperTest {
|
||||
public boolean equals(Object object) {
|
||||
return true;
|
||||
}
|
||||
public int hashCode() {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
class Test extends SuperTest {
|
||||
public boolean equals(Object o) {
|
||||
if (this == o) return true;
|
||||
if (o == null || getClass() != o.getClass()) return false;
|
||||
if (!super.equals(o)) return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user