Project

General

Profile

« Previous | Next » 

Revision bcc15deb

Added by Patrick Plitzner over 7 years ago

#5448 Imporve name check for multiple ex authors

View differences:

app-import/src/main/java/eu/etaxonomy/cdm/io/redlist/gefaesspflanzen/RedListGefaesspflanzenImportNames.java
497 497
        if(authorString.equals(RedListUtil.AUCT)){
498 498
            authorString = "";
499 499
        }
500
        if(authorString.contains(RedListUtil.EX)){
501
            String exAuthor = RedListUtil.getExAuthorOfExAuthorshipString(authorString);
502
            String author = RedListUtil.getAuthorOfExAuthorshipString(authorString);
503
            authorString = exAuthor+RedListUtil.EX+author;
500
        if(!STRICT_TITLE_CHECK && authorString.matches(".*ex.*ex.*")){
501
            return;
504 502
        }
505 503
        if(STRICT_TITLE_CHECK){
506 504
            if(!authorString.equals(authorshipCache)){

Also available in: Unified diff