Fix TermedEntityIdValue hashing
This commit is contained in:
parent
30ce8680c5
commit
43f0348ee9
@ -1,5 +1,6 @@
|
||||
package org.openrefine.wikidata.schema.entityvalues;
|
||||
|
||||
import org.wikidata.wdtk.datamodel.helpers.Hash;
|
||||
import org.wikidata.wdtk.datamodel.interfaces.EntityIdValue;
|
||||
import org.wikidata.wdtk.datamodel.interfaces.ValueVisitor;
|
||||
|
||||
@ -71,6 +72,6 @@ public abstract class TermedEntityIdValue implements EntityIdValue {
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return getIri().hashCode();
|
||||
return Hash.hashCode(this);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user