Project

General

Profile

Revision ba989ecb

IDba989ecbd8ce8aa3ac2d9a327d5c433f9a84a4cd
Parent f8fea9b6
Child d402220f

Added by Patrick Plitzner over 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)