Project

General

Profile

« Previous | Next » 

Revision d85cfdf3

Added by Katja Luther over 7 years ago

fix #5759 remove all switches for remoting and standalone

View differences:

eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/ReferenceEditorInput.java
139 139
	/** {@inheritDoc} */
140 140
	@Override
141 141
    public Reference save(Reference entity) {
142
	    if(CdmStore.getCurrentSessionManager().isRemoting()) {
143
	        return CdmStore.getService(IReferenceService.class).merge(entity, true).getMergedEntity();
144
	    } else {
145
	        CdmStore.getService(IReferenceService.class).saveOrUpdate(entity);
146
	        return entity;
147
	    }
142
	   return CdmStore.getService(IReferenceService.class).merge(entity, true).getMergedEntity();
148 143
	}
149 144

  
150 145
	/* (non-Javadoc)

Also available in: Unified diff