remove the destination file from DwCA export configurator
authorKatja Luther <k.luther@bgbm.org>
Thu, 29 Jun 2017 06:38:30 +0000 (08:38 +0200)
committerKatja Luther <k.luther@bgbm.org>
Thu, 29 Jun 2017 06:39:42 +0000 (08:39 +0200)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/DarwinCoreArchiveExportWizard.java

index 55a54133add9cc343270646afa61c9ba305f9ad6..2e6c775ebdef6ea89b043ea0f3e08d1473847880 100644 (file)
@@ -62,9 +62,9 @@ public class DarwinCoreArchiveExportWizard extends
                String urlString = page.getFolderText() + File.separator
                                + page.getExportFileName();
 
-               configurator.setDestination(new File(urlString));
+               File destination = new File(urlString);
 
-               Job exportJob = CdmStore.getExportManager().createIOServiceJob(configurator, configurator.getDestination());
+               Job exportJob = CdmStore.getExportManager().createIOServiceJob(configurator, destination);
                exportJob.setProperty(IProgressConstants.KEEP_PROPERTY, true);
                exportJob.setUser(true);
         // schedule job