Project

General

Profile

« Previous | Next » 

Revision 03502975

Added by Andreas Müller about 4 years ago

ref #8886 minor fix for lichenes genera import

View differences:

app-import/src/main/java/eu/etaxonomy/cdm/io/lichenes/LichenesGeneraTaxonImport.java
163 163
    	String notesStr = getValue(record, "NOTES");
164 164
    	if (isNotBlank(notesStr)) {
165 165
    		if (notesStr.startsWith("Notes.")) {
166
    			notesStr = notesStr.substring(6);
166
    			notesStr = notesStr.substring(6).trim();
167 167
    		}
168 168
    		//TODO or handle as fact of type "Notes"
169 169
    		genusTaxon.addAnnotation(Annotation.NewInstance(notesStr, AnnotationType.EDITORIAL(), Language.ENGLISH()));

Also available in: Unified diff