Project

General

Profile

Revision f2ae523b

IDf2ae523b38a634b398d5cd96459080a965fd947f
Parent 4e6fc7d5
Child f6ede170

Added by Patrick Plitzner about 1 year ago

ref #6794 Fix termType comparison

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/common/IHasTermType.java
26 26
        if (term != null && term2 != null){
27 27
            checkTermTypeNull(term);
28 28
            checkTermTypeNull(term2);
29
            if (term.getTermType()!= term.getTermType()){
29
            if (term.getTermType()!= term2.getTermType()){
30 30
                throw new IllegalArgumentException("Term types must match");
31 31
            }
32 32
        }

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)