Project

General

Profile

« Previous | Next » 

Revision ba989ecb

Added by Patrick Plitzner about 4 years 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