addPage(two);
<BUG>}
@Override</BUG>
public boolean canFinish() {
IWizardPage currentPage = getContainer().getCurrentPage();
<BUG>if(currentPage instanceof WizardPage0 || currentPage instanceof WizardPage1 )
return false;
else
return true;</BUG>
}

addPage(two);
}
}
@Override
public boolean canFinish() {
IWizardPage currentPage = getContainer().getCurrentPage();
if(currentPage instanceof WizardPage2){
return true;
}
else if (currentPage instanceof WizardPage1 && queryCorpus){
return true;
}
return false;
}
