Program: 129192
Project: 129192
Buggy source:
@Override public boolean performFinish(){
  if (isSinglePageOnly) {
    return true;
  }
  boolean formIsPerformed=true;
  IWizardPage finalPage=null;
  if (finalPage == null) {
    finalPage=wsdlSchemaWizardPage0;
  }
  if (((WSDLSchemaConnection)connectionItem.getConnection()).isIsInputModel()) {
    if (finalPage instanceof WSDLSchemaWizardPage) {
      int step=((WSDLSchemaWizardPage)finalPage).step;
      if (step == 2) {
        formIsPerformed=finalPage.isPageComplete();
      }
 else {
        formIsPerformed=finalPage.isPageComplete();
      }
    }
 else {
      formIsPerformed=finalPage.isPageComplete();
    }
  }
 else {
    formIsPerformed=finalPage.isPageComplete();
  }
  manager.saveValue();
  if (formIsPerformed) {
    IProxyRepositoryFactory factory=ProxyRepositoryFactory.getInstance();
    try {
      if (creation) {
        String nextId=factory.getNextId();
        connectionProperty.setId(nextId);
        connectionProperty.setLabel(connectionProperty.getDisplayName());
        factory.create(connectionItem,wsdlSchemaWizardPage0.getDestinationPath());
      }
 else {
        connectionProperty.setLabel(connectionProperty.getDisplayName());
        RepositoryUpdateManager.updateWSDLConnection(connectionItem,false,false);
        boolean isModified=wsdlSchemaWizardPage0.isNameModifiedByUser();
        if (isModified) {
          if (GlobalServiceRegister.getDefault().isServiceRegistered(IDesignerCoreService.class)) {
            IDesignerCoreService service=(IDesignerCoreService)GlobalServiceRegister.getDefault().getService(IDesignerCoreService.class);
            if (service != null) {
              service.refreshComponentView(connectionItem);
            }
          }
        }
        updateConnectionItem();
      }
    }
 catch (    Exception e) {
      String detailError=e.toString();
      new ErrorDialogWidthDetailArea(getShell(),PID,Messages.getString("String_Node_Str"),detailError);
      log.error(Messages.getString("String_Node_Str") + "String_Node_Str" + detailError);
      return false;
    }
    return true;
  }
 else {
    return false;
  }
}

Fixed version (ground truth):
@Override public boolean performFinish(){
  if (isSinglePageOnly) {
    return true;
  }
  boolean formIsPerformed=true;
  IWizardPage finalPage=null;
  if (finalPage == null) {
    finalPage=wsdlSchemaWizardPage0;
  }
  if (((WSDLSchemaConnection)connectionItem.getConnection()).isIsInputModel()) {
    if (finalPage instanceof WSDLSchemaWizardPage) {
      int step=((WSDLSchemaWizardPage)finalPage).step;
      if (step == 2) {
        formIsPerformed=finalPage.isPageComplete();
      }
 else {
        formIsPerformed=finalPage.isPageComplete();
      }
    }
 else {
      formIsPerformed=finalPage.isPageComplete();
    }
  }
 else {
    formIsPerformed=finalPage.isPageComplete();
  }
  manager.saveValue();
  if (formIsPerformed) {
    IProxyRepositoryFactory factory=ProxyRepositoryFactory.getInstance();
    try {
      if (creation) {
        String nextId=factory.getNextId();
        connectionProperty.setId(nextId);
        connectionProperty.setLabel(connectionProperty.getDisplayName());
        factory.create(connectionItem,wsdlSchemaWizardPage0.getDestinationPath());
      }
 else {
        connectionProperty.setLabel(connectionProperty.getDisplayName());
        RepositoryUpdateManager.updateWSDLConnection(connectionItem,false,false);
        refreshInFinish(wsdlSchemaWizardPage0.isNameModifiedByUser());
        updateConnectionItem();
      }
    }
 catch (    Exception e) {
      String detailError=e.toString();
      new ErrorDialogWidthDetailArea(getShell(),PID,Messages.getString("String_Node_Str"),detailError);
      log.error(Messages.getString("String_Node_Str") + "String_Node_Str" + detailError);
      return false;
    }
    return true;
  }
 else {
    return false;
  }
}