Project

General

Profile

« Previous | Next » 

Revision 6cb0766e

Added by Andreas Müller over 4 years ago

ref #8643 multiple changes to adapt FauEuPesiExport to current situation

View differences:

cdm-pesi/src/main/java/eu/etaxonomy/cdm/io/pesi/out/PesiExportBase.java
587 587
            }else if (refUuid.equals(PesiTransformer.uuidSourceRefIndexFungorum)){
588 588
                result.add(PesiSource.IF);
589 589
            }else{
590
                if (logger.isDebugEnabled()){logger.debug("Not a PESI source");};
590
                if (logger.isDebugEnabled()){logger.debug("Not a PESI source");}
591 591
            }
592 592
        }
593 593
        return result;
......
610 610

  
611 611
            if (sources.size() == 0 && testSources.size()>0){
612 612
                IdentifiableSource source = testSources.iterator().next();
613
                logger.warn("There are sources, but they are no pesi sources!!!" + source.getIdInSource() + " - " + source.getIdNamespace() + " - " + source.getCitation().getTitleCache());
613
                logger.warn("There are sources, but they are no pesi sources!!!" + source.getIdInSource() + " - " + source.getIdNamespace() + " - " + (source.getCitation()== null? "no reference" : source.getCitation().getTitleCache()));
614 614
            }
615 615
            if (sources.size() > 1) {
616 616
                logger.warn("This TaxonName has more than one Source: " + identifiableEntity.getUuid() + " (" + identifiableEntity.getTitleCache() + ")");

Also available in: Unified diff