Project

General

Profile

« Previous | Next » 

Revision d27fae52

Added by Patrick Plitzner over 7 years ago

ref #5448 Reduce multiple ex authors to only two

View differences:

app-import/src/main/java/eu/etaxonomy/cdm/io/redlist/gefaesspflanzen/RedListGefaesspflanzenImportAuthor.java
100 100
        TeamOrPersonBase<?> teamOrPerson;
101 101
        //check if there are ex authors
102 102
        if(authorName.contains(RedListUtil.EX)){
103
            String[] split = authorName.split(RedListUtil.EX);
104
            for (int i = 0; i < split.length; i++) {
105
                makePerson(state, split[i].trim());
106
            }
103
            String author = RedListUtil.getAuthorOfExAuthorshipString(authorName);
104
            String exAuthor = RedListUtil.getExAuthorOfExAuthorshipString(authorName);
105
            makePerson(state, author);
106
            makePerson(state, exAuthor);
107 107
        }
108 108
        //check if it is a team
109 109
        if(authorName.contains("&")){

Also available in: Unified diff