Project

General

Profile

« Previous | Next » 

Revision 577592e3

Added by Andreas Müller almost 6 years ago

cleanup

View differences:

app-import/src/main/java/eu/etaxonomy/cdm/app/edaphobase/EdaphobaseRankActivator.java
25 25
/**
26 26
 * @author a.mueller
27 27
 * @date 04.12.2015
28
 *
29 28
 */
30 29
public class EdaphobaseRankActivator {
31 30
    @SuppressWarnings("unused")
......
48 47
        config.setDbSchemaValidation(dbSchemaValidation);
49 48
        config.setLanguageUuid(Language.uuidGerman);
50 49

  
51
        CdmDefaultImport<RepresentationCsvImportConfigurator> myImport = new CdmDefaultImport<RepresentationCsvImportConfigurator>();
50
        CdmDefaultImport<RepresentationCsvImportConfigurator> myImport = new CdmDefaultImport<>();
52 51
        myImport.invoke(config);
53 52

  
54 53
        config.setLanguageUuid(Language.uuidLatin);
app-import/src/main/java/eu/etaxonomy/cdm/io/edaphobase/EdaphobaseClassificationImport.java
111 111

  
112 112
                        if (isValid){
113 113
                            if (parent.isInstanceOf(Synonym.class)){
114
                                logger.warn("Parent taxon (" + parentTaxonFk + " is not valid for valid child " + id);
114
                                logger.warn("Parent taxon (" + parentTaxonFk + " is not valid for valid child " + id + ")");
115 115
                            }else{
116 116
                                Taxon accParent = CdmBase.deproxy(parent, Taxon.class);
117 117
                                classification.addParentChild(accParent, (Taxon)child, sourceReference, null);
app-import/src/main/java/eu/etaxonomy/cdm/io/edaphobase/EdaphobaseSynonymy2Import.java
29 29
import eu.etaxonomy.cdm.model.taxon.TaxonRelationshipType;
30 30

  
31 31
/**
32
 * Import class for synonym relationships in edaphobase.
32
 * Import class for synonym relationships in edaphobase
33
 * which are NOT pure synonym relationships.
34
 * Therefore either
35
 *  role A must be valid,
36
 *  role B must be invalid or
37
 *  synonym_role <> 11614
33 38
 *
34 39
 * @author a.mueller
35 40
 * @date 21.12.2015
36
 *
37 41
 */
38 42
@Component
39 43
public class EdaphobaseSynonymy2Import extends EdaphobaseImportBase {

Also available in: Unified diff