X-Git-Url: https://dev.e-taxonomy.eu/gitweb/taxeditor.git/blobdiff_plain/017f612cde61c39d38b1f1693a8ad6ad59efed8d..4ac90d615da900439ee877996d1c7528215211ba:/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/NewNonViralNameWizard.java diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/NewNonViralNameWizard.java b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/NewNonViralNameWizard.java index 6e6ec0886..575f6a7ee 100644 --- a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/NewNonViralNameWizard.java +++ b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/NewNonViralNameWizard.java @@ -1,9 +1,9 @@ // $Id$ /** * Copyright (C) 2007 EDIT -* European Distributed Institute of Taxonomy +* European Distributed Institute of Taxonomy * http://www.e-taxonomy.eu -* +* * The contents of this file are subject to the Mozilla Public License Version 1.1 * See LICENSE.TXT at the top of this package for the full license terms. */ @@ -33,7 +33,7 @@ public class NewNonViralNameWizard extends AbstractNewEntityWizard public void addPages() { addPage(new NonViralNameWizardPage(formFactory, getConversationHolder(), getEntity())); } - + /** {@inheritDoc} */ @Override protected NonViralName createNewEntity() { @@ -49,7 +49,7 @@ public class NewNonViralNameWizard extends AbstractNewEntityWizard /** {@inheritDoc} */ @Override protected void saveEntity() { - CdmStore.getService(INameService.class).saveOrUpdate(getEntity()); + CdmStore.getService(INameService.class).merge(getEntity()); } @Override