Program: 119644
Project: 119644
Buggy source:
private void createBasicTisProjectArea(Composite parent){
  tosProjectComposite=toolkit.createComposite(parent);
  tosProjectComposite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  tosProjectComposite.setLayout(new FormLayout());
  tosProjectComposite.setBackgroundMode(SWT.INHERIT_DEFAULT);
  tosProjectComposite.setBackground(parent.getBackground());
  svnBranchLabel=toolkit.createLabel(tosProjectComposite,null);
  branchesViewer=new ComboViewer(tosProjectComposite,SWT.BORDER | SWT.READ_ONLY);
  branchesViewer.setContentProvider(new ArrayContentProvider());
  branchesViewer.setLabelProvider(new LabelProvider());
  branchesViewer.getControl().setVisible(false);
  Label tosProjectLabel=toolkit.createLabel(tosProjectComposite,Messages.getString("String_Node_Str"));
  openProjectBtn=toolkit.createButton(tosProjectComposite,null,SWT.PUSH);
  openProjectBtn.setText(Messages.getString("String_Node_Str"));
  openProjectBtn.setToolTipText(Messages.getString("String_Node_Str"));
  Image image=ImageProvider.getImage(ERepositoryImages.OPEN_PROJECT_ICON);
  openProjectBtn.setImage(image);
  projectViewer=new ComboViewer(tosProjectComposite,SWT.BORDER | SWT.READ_ONLY);
  projectViewer.setContentProvider(new ArrayContentProvider());
  projectViewer.setLabelProvider(new ProjectLabelProvider());
  FormData data=new FormData();
  if (PluginChecker.isSVNProviderPluginLoaded()) {
    data.top=new FormAttachment(0,12);
  }
 else {
    data.top=new FormAttachment(0,10);
  }
  data.left=new FormAttachment(0,HORIZONTAL_TWO_SPACE);
  data.right=new FormAttachment(0,LEFTSPACE);
  tosProjectLabel.setLayoutData(data);
  data=new FormData();
  data.top=new FormAttachment(tosProjectLabel,0,SWT.TOP);
  data.left=new FormAttachment(tosProjectLabel,HORIZONTAL_SPACE);
  data.right=new FormAttachment(0,300);
  projectViewer.getControl().setLayoutData(data);
  fillProjectsBtn=toolkit.createButton(tosProjectComposite,null,SWT.PUSH);
  fillProjectsBtn.setToolTipText(Messages.getString("String_Node_Str"));
  fillProjectsBtn.setImage(ImageProvider.getImage(EImage.REFRESH_ICON));
  data=new FormData();
  data.top=new FormAttachment(projectViewer.getControl(),0,SWT.CENTER);
  GC gc=new GC(fillProjectsBtn);
  Point labelSize=gc.stringExtent(Messages.getString("String_Node_Str"));
  gc.dispose();
  data.left=new FormAttachment(100,-HORIZONTAL_TWO_SPACE - labelSize.x - HORIZONTAL_TWO_SPACE);
  data.right=new FormAttachment(100,-HORIZONTAL_TWO_SPACE);
  fillProjectsBtn.setLayoutData(data);
  data=new FormData();
  if (PluginChecker.isSVNProviderPluginLoaded()) {
    data.top=new FormAttachment(projectViewer.getControl(),HORIZONTAL_SPACE);
  }
 else {
    data.top=new FormAttachment(projectViewer.getControl(),HORIZONTAL_TWO_SPACE);
  }
  data.right=new FormAttachment(projectViewer.getCombo(),0,SWT.RIGHT);
  openProjectBtn.setLayoutData(data);
}

Fixed version (ground truth):
private void createBasicTisProjectArea(Composite parent){
  tosProjectComposite=toolkit.createComposite(parent);
  tosProjectComposite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  tosProjectComposite.setLayout(new FormLayout());
  tosProjectComposite.setBackgroundMode(SWT.INHERIT_DEFAULT);
  tosProjectComposite.setBackground(parent.getBackground());
  svnBranchLabel=toolkit.createLabel(tosProjectComposite,null);
  branchesViewer=new ComboViewer(tosProjectComposite,SWT.BORDER | SWT.READ_ONLY);
  branchesViewer.setContentProvider(new ArrayContentProvider());
  branchesViewer.setLabelProvider(new LabelProvider());
  branchesViewer.getControl().setVisible(false);
  Label tosProjectLabel=toolkit.createLabel(tosProjectComposite,Messages.getString("String_Node_Str"));
  openProjectBtn=toolkit.createButton(tosProjectComposite,null,SWT.PUSH);
  openProjectBtn.setText(Messages.getString("String_Node_Str"));
  openProjectBtn.setToolTipText(Messages.getString("String_Node_Str"));
  Image image=ImageProvider.getImage(ERepositoryImages.OPEN_PROJECT_ICON);
  openProjectBtn.setImage(image);
  projectViewer=new ComboViewer(tosProjectComposite,SWT.BORDER | SWT.READ_ONLY);
  projectViewer.setContentProvider(new ArrayContentProvider());
  projectViewer.setLabelProvider(new ProjectLabelProvider());
  FormData data=new FormData();
  comfortColumnWidth(tosProjectLabel,data);
  if (PluginChecker.isSVNProviderPluginLoaded()) {
    data.top=new FormAttachment(0,12);
  }
 else {
    data.top=new FormAttachment(0,10);
  }
  data.left=new FormAttachment(0,HORIZONTAL_TWO_SPACE);
  tosProjectLabel.setLayoutData(data);
  data=new FormData();
  data.top=new FormAttachment(tosProjectLabel,0,SWT.TOP);
  data.left=new FormAttachment(tosProjectLabel,HORIZONTAL_SPACE);
  data.right=new FormAttachment(0,300);
  projectViewer.getControl().setLayoutData(data);
  fillProjectsBtn=toolkit.createButton(tosProjectComposite,null,SWT.PUSH);
  fillProjectsBtn.setToolTipText(Messages.getString("String_Node_Str"));
  fillProjectsBtn.setImage(ImageProvider.getImage(EImage.REFRESH_ICON));
  data=new FormData();
  data.top=new FormAttachment(projectViewer.getControl(),0,SWT.CENTER);
  GC gc=new GC(fillProjectsBtn);
  Point labelSize=gc.stringExtent(Messages.getString("String_Node_Str"));
  gc.dispose();
  data.left=new FormAttachment(100,-HORIZONTAL_TWO_SPACE - labelSize.x - HORIZONTAL_TWO_SPACE);
  data.right=new FormAttachment(100,-HORIZONTAL_TWO_SPACE);
  fillProjectsBtn.setLayoutData(data);
  data=new FormData();
  if (PluginChecker.isSVNProviderPluginLoaded()) {
    data.top=new FormAttachment(projectViewer.getControl(),HORIZONTAL_SPACE);
  }
 else {
    data.top=new FormAttachment(projectViewer.getControl(),HORIZONTAL_TWO_SPACE);
  }
  data.right=new FormAttachment(projectViewer.getCombo(),0,SWT.RIGHT);
  openProjectBtn.setLayoutData(data);
}