Merge branch 'release/5.22.0' 5.22.0
authorjenkins <jenkins-int@bgbm.org>
Fri, 16 Apr 2021 12:15:13 +0000 (14:15 +0200)
committerjenkins <jenkins-int@bgbm.org>
Fri, 16 Apr 2021 12:15:13 +0000 (14:15 +0200)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/NewTaxonNodeWizard.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/description/SourceComparator.java

index 0cb41587224de38f6e527f759adfc6472f1f6213..9526758c7a0822b25aae12ecfb86aa5934545fd7 100644 (file)
@@ -25,6 +25,7 @@ import eu.etaxonomy.cdm.model.reference.NamedSource;
 import eu.etaxonomy.cdm.model.taxon.ITaxonTreeNode;
 import eu.etaxonomy.cdm.model.taxon.TaxonNode;
 import eu.etaxonomy.cdm.model.taxon.TaxonNodeStatus;
+import eu.etaxonomy.cdm.persistence.dto.MergeResult;
 import eu.etaxonomy.cdm.persistence.dto.TaxonNodeDto;
 import eu.etaxonomy.taxeditor.l10n.Messages;
 import eu.etaxonomy.taxeditor.model.MessagingUtils;
index 8f4e885cbd5f357b76d381bfc89e85d6b658f0b7..eefc698991ea61cc1ec5fb688456275b74dd33ac 100644 (file)
@@ -41,6 +41,7 @@ public class SourceComparator  <T extends OriginalSourceBase> implements Compara
         if (o2.isInstanceOf(DescriptionElementSource.class)){
             isDescriptionElementSource2 = true;
         }
+
         if (isDescriptionElementSource1 != isDescriptionElementSource2){
             if (isDescriptionElementSource1){
                 return -1;