Project

General

Profile

« Previous | Next » 

Revision f5eab879

Added by Katja Luther over 3 years ago

ref #9262: fix homotypical group name comparator

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/name/HomotypicalGroupNameComparator.java
139 139
            }else if (basionym.equals(name2)){
140 140
                return 1;
141 141
            }else{
142
                this.compare(name1, name2, false);
142
                return this.compare(name1, name2, false);
143 143
            }
144
            return 0;
144

  
145 145
        }
146 146

  
147 147
        /**
......
395 395
               if (name.isZoological()){
396 396
                   result = name.getPublicationYear();
397 397
               }else{
398
                   Reference ref = (Reference) name.getNomenclaturalReference();
398
                   Reference ref = name.getNomenclaturalReference();
399 399
                   if (ref == null){
400 400
                       result = null;
401 401
                   }else{

Also available in: Unified diff