Project

General

Profile

« Previous | Next » 

Revision 420d529a

Added by Andreas Müller over 5 years ago

ref #6690 use SchemaUpdateResult in TaxEditor

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/datasource/handler/UpdateDataSourceHandler.java
23 23
import eu.etaxonomy.cdm.config.ICdmSource;
24 24
import eu.etaxonomy.cdm.database.ICdmDataSource;
25 25
import eu.etaxonomy.cdm.database.update.CdmUpdater;
26
import eu.etaxonomy.cdm.database.update.SchemaUpdateResult;
26 27
import eu.etaxonomy.taxeditor.model.CdmProgressMonitorAdapter;
27 28
import eu.etaxonomy.taxeditor.model.MessagingUtils;
28 29
import eu.etaxonomy.taxeditor.store.StoreUtil;
......
63 64
				//FIXME:Remoting we need another updater for ICdmRemoteSource
64 65
				if(cdmSource instanceof ICdmDataSource) {
65 66
				try{
66
					if(updater.updateToCurrentVersion((ICdmDataSource)cdmSource, CdmProgressMonitorAdapter.CreateMonitor(monitor))){
67
					SchemaUpdateResult result = updater.updateToCurrentVersion(
68
							(ICdmDataSource)cdmSource, CdmProgressMonitorAdapter.CreateMonitor(monitor));
69
					if(result.isSuccess()){
67 70
						display.asyncExec(new Runnable(){
68 71

  
69 72
							@Override

Also available in: Unified diff