in src/main/java/com/google/gerrit/common/Container.java [25:44]
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
try {
for (Field field : getClass().getDeclaredFields()) {
field.setAccessible(true);
if (!Objects.deepEquals(field.get(this), field.get(o))) {
return false;
}
}
} catch (IllegalArgumentException | IllegalAccessException e) {
throw new RuntimeException();
}
return true;
}