refactoring to cdm source
authorCherian Mathew <c.mathew@bgbm.org>
Tue, 6 May 2014 14:54:38 +0000 (14:54 +0000)
committerCherian Mathew <c.mathew@bgbm.org>
Tue, 6 May 2014 14:54:38 +0000 (14:54 +0000)
eu.etaxonomy.taxeditor.printpublisher/src/main/java/eu/etaxonomy/taxeditor/printpublisher/wizard/AbstractPublishWizardPage.java

index 5d9359dcc3b8ed6fe99f87adb4f91776c2933be1..e210bf139ccbce8db126e777baff7c815c1884e3 100644 (file)
@@ -90,7 +90,7 @@ public abstract class AbstractPublishWizardPage extends WizardPage {
                
                String dataSource = null;
                if(getConfigurator().isLocal()){
-                       dataSource = CdmStore.getDataSource().getName();
+                       dataSource = CdmStore.getActiveCdmSource().getName();
                }else if(getConfigurator().isRemote()){
                        URL serviceUrl = getConfigurator().getWebserviceUrl();
                        dataSource = serviceUrl.toExternalForm();