From 7e5de1125ad957b97eec0ebab6d979c59ea3e101 Mon Sep 17 00:00:00 2001 From: Dmitry Avdeev Date: Wed, 27 Feb 2013 15:36:46 +0400 Subject: [PATCH] cleanup --- .../src/com/intellij/ide/wizard/AbstractWizard.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/platform/platform-api/src/com/intellij/ide/wizard/AbstractWizard.java b/platform/platform-api/src/com/intellij/ide/wizard/AbstractWizard.java index 2dafd653b7fa..cd0ff214d453 100644 --- a/platform/platform-api/src/com/intellij/ide/wizard/AbstractWizard.java +++ b/platform/platform-api/src/com/intellij/ide/wizard/AbstractWizard.java @@ -361,7 +361,7 @@ public abstract class AbstractWizard extends DialogWrapper { // Commit data of current step final Step currentStep = mySteps.get(myCurrentStep); LOG.assertTrue(currentStep != null); - LOG.assertTrue(!isLastStep()); + LOG.assertTrue(!isLastStep(), "steps: " + mySteps + " current: " + currentStep); try { currentStep._commit(false); } @@ -522,8 +522,4 @@ public abstract class AbstractWizard extends DialogWrapper { @Nullable @NonNls protected abstract String getHelpID(); - - protected boolean isCurrentStep(final T step) { - return step != null && getCurrentStepComponent() == step.getComponent(); - } }