X-Git-Url: https://dev.e-taxonomy.eu/gitweb/taxeditor.git/blobdiff_plain/c860d200ef52f74bac80408bdaee665a55d25ad9..c892e8816203575dbbf131ad9bc0f9043961a851:/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/NewFieldUnitWizard.java diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/NewFieldUnitWizard.java b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/NewFieldUnitWizard.java index 59086434c..6062f5a91 100644 --- a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/NewFieldUnitWizard.java +++ b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/NewFieldUnitWizard.java @@ -1,4 +1,3 @@ -// $Id$ /** * Copyright (C) 2007 EDIT * European Distributed Institute of Taxonomy @@ -38,11 +37,8 @@ public class NewFieldUnitWizard extends AbstractNewEntityWizard { /** {@inheritDoc} */ @Override protected void saveEntity() { - if(CdmStore.getCurrentSessionManager().isRemoting()) { - CdmStore.getService(IOccurrenceService.class).merge(getEntity(), true); - } else { - CdmStore.getService(IOccurrenceService.class).save(getEntity()); - } + CdmStore.getService(IOccurrenceService.class).merge(getEntity(), true); + } @Override