Program: 124262
Project: 124262
Buggy source:
private void displayPasswordComposite(){
  if (PluginChecker.isSVNProviderPluginLoaded()) {
    if (getConnection() != null) {
      boolean local=RepositoryConstants.REPOSITORY_LOCAL_ID.equals(getConnection().getRepositoryId());
      if (local) {
        GridData layoutData=(GridData)passwordComposite.getLayoutData();
        layoutData.heightHint=-20;
        passwordComposite.setLayoutData(layoutData);
        passwordComposite.setVisible(false);
        passwordComposite.layout();
        formBody.layout();
        formBody.pack();
        GridData layoutData2=(GridData)tisBlankCompoiste.getLayoutData();
        layoutData2.heightHint=20;
        tisBlankCompoiste.setLayoutData(layoutData2);
        tisBlankCompoiste.setVisible(true);
        tisBlankCompoiste.layout();
        formBody.layout();
        formBody.pack();
      }
 else {
        GridData layoutData=(GridData)passwordComposite.getLayoutData();
        layoutData.heightHint=24;
        passwordComposite.setLayoutData(layoutData);
        passwordComposite.setVisible(true);
        passwordComposite.layout();
        formBody.layout();
        formBody.pack();
        GridData layoutData2=(GridData)tisBlankCompoiste.getLayoutData();
        layoutData2.heightHint=-20;
        tisBlankCompoiste.setLayoutData(layoutData2);
        tisBlankCompoiste.setVisible(false);
        tisBlankCompoiste.layout();
        formBody.layout();
        formBody.pack();
      }
    }
 else {
      GridData layoutData=(GridData)passwordComposite.getLayoutData();
      layoutData.heightHint=20;
      passwordComposite.setLayoutData(layoutData);
      passwordComposite.setVisible(true);
      passwordComposite.layout();
      formBody.layout();
      formBody.pack();
      GridData layoutData2=(GridData)tisBlankCompoiste.getLayoutData();
      layoutData2.heightHint=-20;
      tisBlankCompoiste.setLayoutData(layoutData2);
      tisBlankCompoiste.setVisible(false);
      tisBlankCompoiste.layout();
      formBody.layout();
      formBody.pack();
    }
    getShell().pack();
  }
}

Fixed version (ground truth):
private void displayPasswordComposite(){
  if (PluginChecker.isSVNProviderPluginLoaded()) {
    if (getConnection() != null) {
      boolean local=RepositoryConstants.REPOSITORY_LOCAL_ID.equals(getConnection().getRepositoryId());
      if (local) {
        GridData layoutData=(GridData)passwordComposite.getLayoutData();
        passwordComposite.setVisible(false);
        layoutData.exclude=true;
        GridData layoutData2=(GridData)tisBlankCompoiste.getLayoutData();
        tisBlankCompoiste.setVisible(true);
        layoutData2.exclude=false;
        formBody.layout();
      }
 else {
        GridData layoutData=(GridData)passwordComposite.getLayoutData();
        passwordComposite.setVisible(true);
        layoutData.exclude=false;
        GridData layoutData2=(GridData)tisBlankCompoiste.getLayoutData();
        tisBlankCompoiste.setVisible(false);
        layoutData2.exclude=true;
        formBody.layout();
      }
    }
 else {
      GridData layoutData=(GridData)passwordComposite.getLayoutData();
      passwordComposite.setVisible(true);
      layoutData.exclude=false;
      GridData layoutData2=(GridData)tisBlankCompoiste.getLayoutData();
      tisBlankCompoiste.setVisible(false);
      layoutData2.exclude=true;
      formBody.layout();
    }
    getShell().pack();
  }
}