Project

General

Profile

« Previous | Next » 

Revision 9dbe8889

Added by Andreas Müller over 2 years ago

ref #9890 move importDeduplicationHelper to import state and include state in helper (cont.) - appimport

View differences:

app-import/src/main/java/eu/etaxonomy/cdm/io/redlist/gefaesspflanzen/excel/RedListGefaesspflanzenTaxonExcelImport.java
156 156
        Rank rank = Rank.SPECIES();
157 157
        IBotanicalName name = (IBotanicalName)parser.parseFullName(nameStr, state.getConfig().getNomenclaturalCode(), rank);
158 158
        name.addImportSource(noStr, getNamespace(state.getConfig()), getSourceCitation(state), null);
159
        name = state.getDeduplicationHelper().getExistingName(state, name);
159
        name = state.getDeduplicationHelper().getExistingName(name);
160 160
        if (name.isProtectedTitleCache()){
161 161
            logger.warn(line + "Name could not be parsed: " + nameStr);
162 162
        }
163 163

  
164
        state.getDeduplicationHelper().replaceAuthorNamesAndNomRef(state, name);
164
        state.getDeduplicationHelper().replaceAuthorNamesAndNomRef(name);
165 165

  
166 166
        TaxonBase<?> taxon;
167 167
        if ("1".equals(synFlag) || isAuct){

Also available in: Unified diff