This commit is contained in:
Dmitry Avdeev
2013-02-27 15:38:15 +04:00
parent 30de173255
commit 7e5de1125a
@@ -361,7 +361,7 @@ public abstract class AbstractWizard<T extends Step> 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<T extends Step> extends DialogWrapper {
@Nullable
@NonNls
protected abstract String getHelpID();
protected boolean isCurrentStep(final T step) {
return step != null && getCurrentStepComponent() == step.getComponent();
}
}