Skip to content

Commit 46d2404

Browse files
committed
ontology: Only hash the URI of resources
1 parent 88f209f commit 46d2404

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ubic/basecode/ontology/simple/AbstractOntologyResourceSimple.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@ public boolean equals( Object obj ) {
5353

5454
@Override
5555
public int hashCode() {
56-
return Objects.hash( uri, label );
56+
return Objects.hash( uri );
5757
}
5858
}

0 commit comments

Comments
 (0)