Project

General

Profile

Revision 57aa10c6

ID57aa10c64a6f155a2a4ae04fda9f9f0fdfb40d7e
Parent a8284340
Child 9ffe52d4

Added by Katja Luther 9 months ago

followup to cleanup of taxonNodeDto/UuidAndTitleCache usage

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/util/TaxonTreeNodeContentProvider.java
16 16
import eu.etaxonomy.cdm.api.service.ITaxonNodeService;
17 17
import eu.etaxonomy.cdm.model.taxon.TaxonNode;
18 18
import eu.etaxonomy.cdm.persistence.dto.TaxonNodeDto;
19
import eu.etaxonomy.cdm.persistence.dto.UuidAndTitleCache;
20 19
import eu.etaxonomy.taxeditor.store.CdmStore;
21 20

  
22 21
/**
......
66 65
        if(parentElement instanceof TaxonNode){
67 66
            children = taxonNodeService.listChildNodesAsTaxonNodeDto((TaxonNode)parentElement).toArray();
68 67
        }else {
69
            children = taxonNodeService.listChildNodesAsTaxonNodeDto((UuidAndTitleCache<TaxonNode>)parentElement).toArray();
68
            children = taxonNodeService.listChildNodesAsTaxonNodeDto((TaxonNodeDto)parentElement).toArray();
70 69
        }
71 70

  
72 71
        return children != null ? children : NO_CHILDREN;

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)