Project

General

Profile

« Previous | Next » 

Revision 8555ad50

Added by Andreas Kohlbecker about 6 years ago

ref #7103 TypedEntityReference: harmonizing equals with hashCode method (ignore label) and reenabling testcase in SpecimenTypeDesignationWorkingSetServiceImplTest

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/model/TypedEntityReference.java
68 68
    public boolean equals(Object obj) {
69 69
        try {
70 70
            TypedEntityReference other = (TypedEntityReference) obj;
71
            return id == other.id && label.equals(other.label) && type.equals(other.type);
71
            return id == other.id && type.equals(other.type);
72 72

  
73 73
        } catch (Exception e) {
74 74
            return false;

Also available in: Unified diff