in geoentitylinker-addon/src/main/java/opennlp/addons/geoentitylinker/GazetteerEntry.java [144:156]
public boolean equals(Object obj) {
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
final GazetteerEntry other = (GazetteerEntry) obj;
if (!Objects.equals(this.source, other.source)) {
return false;
}
return Objects.equals(this.indexID, other.indexID);
}