fix #5759 remove all switches for remoting and standalone
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / newWizard / NewTaxonWizard.java
index 1947c452fc8605984f61a867df5e05cdc26d2c1e..4d31df288f31822a856cd5fd76924be6958dafbb 100644 (file)
@@ -25,14 +25,11 @@ import eu.etaxonomy.taxeditor.ui.section.taxon.TaxonWizardPage;
  */
 public class NewTaxonWizard extends AbstractNewEntityWizard<Taxon> {
 
-       private TaxonWizardPage taxonWizardPage;
-
        /** {@inheritDoc} */
        @Override
        public void addPages() {
+           addPage(new TaxonWizardPage(formFactory, getConversationHolder(), getEntity()));
            addPage(new NonViralNameWizardPage(formFactory, getConversationHolder(), (NonViralName) getEntity().getName()));
-               taxonWizardPage = new TaxonWizardPage(formFactory, getConversationHolder(), getEntity());
-               addPage(taxonWizardPage);
        }
 
        /** {@inheritDoc} */