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/TaxonEditorInput.java
71 71
	}
72 72
	@Override
73 73
	public TaxonBase save(TaxonBase entity) {
74
	    if(CdmStore.getCurrentSessionManager().isRemoting()) {
75
	        return CdmStore.getService(ITaxonService.class).merge(entity, true).getMergedEntity();
76
	    } else {
77
	        CdmStore.getService(ITaxonService.class).saveOrUpdate(entity);
78
	        return entity;
79
	    }
74
	    return CdmStore.getService(ITaxonService.class).merge(entity, true).getMergedEntity();
80 75
	}
81 76

  
82 77

  

Also available in: Unified diff