Revision 15a41eb5
Added by Cherian Mathew about 10 years ago
app-import/src/main/java/eu/etaxonomy/cdm/app/dwca/DwcaImportActivator.java | ||
---|---|---|
14 | 14 |
|
15 | 15 |
import org.apache.log4j.Logger; |
16 | 16 |
|
17 |
import eu.etaxonomy.cdm.api.application.ICdmApplicationConfiguration; |
|
17 |
import eu.etaxonomy.cdm.api.application.ICdmApplicationDefaultConfiguration;
|
|
18 | 18 |
import eu.etaxonomy.cdm.app.common.CdmDestinations; |
19 | 19 |
import eu.etaxonomy.cdm.database.DbSchemaValidation; |
20 | 20 |
import eu.etaxonomy.cdm.database.ICdmDataSource; |
... | ... | |
122 | 122 |
|
123 | 123 |
//deduplicate |
124 | 124 |
if (doDeduplicate){ |
125 |
ICdmApplicationConfiguration app = myImport.getCdmAppController(); |
|
125 |
ICdmApplicationDefaultConfiguration app = myImport.getCdmAppController();
|
|
126 | 126 |
int count = app.getAgentService().deduplicate(Person.class, null, null); |
127 | 127 |
logger.warn("Deduplicated " + count + " persons."); |
128 | 128 |
// count = app.getAgentService().deduplicate(Team.class, null, null); |
Also available in: Unified diff
renaming ICdmApplicationConfiguration to ICdmApplicationDefaultConfiguration