mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 09:39:37 +07:00
tests: language level is 1.5 though jdk is mockJdk14 without @Override as expected -> fqns in test data
20 lines
370 B
Java
20 lines
370 B
Java
class Test {
|
|
int i;
|
|
|
|
@java.lang.Override
|
|
public boolean equals(Object o) {
|
|
if (this == o) return true;
|
|
if (o == null || getClass() != o.getClass()) return false;
|
|
|
|
final Test test = (Test) o;
|
|
|
|
if (i != test.i) return false;
|
|
|
|
return true;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public int hashCode() {
|
|
return i;
|
|
}
|
|
} |