Program: 119628
Project: 119628
Buggy source:
private void createTisRepositoryArea(Composite parent){
  tisRepositoryComposite=toolkit.createComposite(parent);
  tisRepositoryComposite.setLayoutData(new GridData(GridData.FILL_BOTH));
  tisRepositoryComposite.setLayout(new FormLayout());
  tisRepositoryComposite.setBackground(GREY_COLOR);
  FormData formData;
  Composite group=new Composite(tisRepositoryComposite,SWT.None);
  manageConnectionsButton=toolkit.createButton(tisRepositoryComposite,null,SWT.PUSH);
  manageConnectionsButton.setBackground(GREY_COLOR);
  manageConnectionsButton.setImage(ImageProvider.getImage(EImage.THREE_DOTS_ICON));
  formData=new FormData();
  formData.top=new FormAttachment(group,HORIZONTAL_SPACE,SWT.CENTER);
  GC gc=new GC(manageConnectionsButton);
  Point labelSize=gc.stringExtent(Messages.getString("String_Node_Str"));
  gc.dispose();
  formData.left=new FormAttachment(100,-HORIZONTAL_TWO_SPACE - labelSize.x - HORIZONTAL_TWO_SPACE);
  formData.right=new FormAttachment(100,-HORIZONTAL_TWO_SPACE);
  manageConnectionsButton.setLayoutData(formData);
  group.setLayout(new FormLayout());
  formData=new FormData();
  formData.top=new FormAttachment(0,0);
  formData.left=new FormAttachment(0,0);
  formData.right=new FormAttachment(manageConnectionsButton,-HORIZONTAL_SPACE);
  formData.bottom=new FormAttachment(100,-2);
  group.setLayoutData(formData);
  Label connectionLabel=toolkit.createLabel(group,null);
  connectionLabel.setBackground(tisRepositoryComposite.getBackground());
  connectionLabel.setText("String_Node_Str");
  formData=new FormData();
  formData.top=new FormAttachment(0,HORIZONTAL_TWO_SPACE);
  formData.left=new FormAttachment(0,HORIZONTAL_TWO_SPACE);
  formData.right=new FormAttachment(0,LEFTSPACE);
  connectionLabel.setLayoutData(formData);
  connectionsViewer=new ComboViewer(group,SWT.BORDER | SWT.READ_ONLY);
  connectionsViewer.setContentProvider(new ArrayContentProvider());
  connectionsViewer.setLabelProvider(new ConnectionLabelProvider());
  formData=new FormData();
  formData.top=new FormAttachment(connectionLabel,0,SWT.CENTER);
  formData.left=new FormAttachment(connectionLabel,HORIZONTAL_SPACE);
  formData.right=new FormAttachment(0,300);
  connectionsViewer.getControl().setLayoutData(formData);
  Label emailLabel=toolkit.createLabel(group,null);
  emailLabel.setBackground(tisRepositoryComposite.getBackground());
  emailLabel.setText(Messages.getString("String_Node_Str"));
  formData=new FormData();
  formData.top=new FormAttachment(connectionLabel,HORIZONTAL_TWO_SPACE);
  formData.left=new FormAttachment(0,HORIZONTAL_TWO_SPACE);
  formData.right=new FormAttachment(0,LEFTSPACE);
  emailLabel.setLayoutData(formData);
  user=toolkit.createText(group,null,SWT.BORDER);
  user.setEditable(false);
  user.setEnabled(false);
  formData=new FormData();
  formData.top=new FormAttachment(emailLabel,0,SWT.CENTER);
  formData.left=new FormAttachment(emailLabel,HORIZONTAL_SPACE);
  formData.right=new FormAttachment(0,300);
  user.setLayoutData(formData);
  passwordComposite=toolkit.createComposite(parent);
  GridData gd=new GridData(GridData.FILL_BOTH);
  passwordComposite.setLayoutData(gd);
  passwordComposite.setLayout(new FormLayout());
  passwordComposite.setBackground(GREY_COLOR);
  passwordLabel=toolkit.createLabel(passwordComposite,null);
  passwordLabel.setBackground(passwordComposite.getBackground());
  passwordLabel.setText(Messages.getString("String_Node_Str"));
  formData=new FormData();
  formData.top=new FormAttachment(passwordComposite,3,SWT.TOP);
  formData.left=new FormAttachment(0,HORIZONTAL_TWO_SPACE);
  formData.right=new FormAttachment(0,LEFTSPACE);
  passwordLabel.setLayoutData(formData);
  passwordText=toolkit.createText(passwordComposite,null,SWT.PASSWORD | SWT.BORDER);
  passwordText.setEditable(false);
  passwordText.setEnabled(false);
  formData=new FormData();
  formData.top=new FormAttachment(passwordComposite,1,SWT.TOP);
  formData.left=new FormAttachment(passwordLabel,HORIZONTAL_SPACE);
  formData.right=new FormAttachment(0,300);
  passwordText.setLayoutData(formData);
}

Fixed version (ground truth):
private void createTisRepositoryArea(Composite parent){
  tisRepositoryComposite=toolkit.createComposite(parent);
  tisRepositoryComposite.setLayoutData(new GridData(GridData.FILL_BOTH));
  tisRepositoryComposite.setLayout(new FormLayout());
  tisRepositoryComposite.setBackground(GREY_COLOR);
  FormData formData;
  Composite group=new Composite(tisRepositoryComposite,SWT.None);
  manageConnectionsButton=toolkit.createButton(tisRepositoryComposite,null,SWT.PUSH);
  manageConnectionsButton.setBackground(GREY_COLOR);
  manageConnectionsButton.setImage(ImageProvider.getImage(EImage.THREE_DOTS_ICON));
  formData=new FormData();
  formData.top=new FormAttachment(group,HORIZONTAL_SPACE,SWT.CENTER);
  GC gc=new GC(manageConnectionsButton);
  Point labelSize=gc.stringExtent(Messages.getString("String_Node_Str"));
  gc.dispose();
  formData.left=new FormAttachment(100,-HORIZONTAL_TWO_SPACE - labelSize.x - HORIZONTAL_TWO_SPACE);
  formData.right=new FormAttachment(100,-HORIZONTAL_TWO_SPACE);
  manageConnectionsButton.setLayoutData(formData);
  group.setLayout(new FormLayout());
  formData=new FormData();
  formData.top=new FormAttachment(0,0);
  formData.left=new FormAttachment(0,0);
  formData.right=new FormAttachment(manageConnectionsButton,-HORIZONTAL_SPACE);
  formData.bottom=new FormAttachment(100,-2);
  group.setLayoutData(formData);
  Label connectionLabel=toolkit.createLabel(group,null);
  connectionLabel.setBackground(tisRepositoryComposite.getBackground());
  connectionLabel.setText("String_Node_Str");
  formData=new FormData();
  comfortColumnWidth(connectionLabel,formData);
  formData.top=new FormAttachment(0,HORIZONTAL_TWO_SPACE);
  formData.left=new FormAttachment(0,HORIZONTAL_TWO_SPACE);
  connectionLabel.setLayoutData(formData);
  connectionsViewer=new ComboViewer(group,SWT.BORDER | SWT.READ_ONLY);
  connectionsViewer.setContentProvider(new ArrayContentProvider());
  connectionsViewer.setLabelProvider(new ConnectionLabelProvider());
  formData=new FormData();
  formData.top=new FormAttachment(connectionLabel,0,SWT.CENTER);
  formData.left=new FormAttachment(connectionLabel,HORIZONTAL_SPACE);
  formData.right=new FormAttachment(0,300);
  connectionsViewer.getControl().setLayoutData(formData);
  Label emailLabel=toolkit.createLabel(group,null);
  emailLabel.setBackground(tisRepositoryComposite.getBackground());
  emailLabel.setText(Messages.getString("String_Node_Str"));
  formData=new FormData();
  comfortColumnWidth(emailLabel,formData);
  formData.top=new FormAttachment(connectionLabel,HORIZONTAL_TWO_SPACE);
  formData.left=new FormAttachment(0,HORIZONTAL_TWO_SPACE);
  emailLabel.setLayoutData(formData);
  user=toolkit.createText(group,null,SWT.BORDER);
  user.setEditable(false);
  user.setEnabled(false);
  formData=new FormData();
  formData.top=new FormAttachment(emailLabel,0,SWT.CENTER);
  formData.left=new FormAttachment(emailLabel,HORIZONTAL_SPACE);
  formData.right=new FormAttachment(0,300);
  user.setLayoutData(formData);
  passwordComposite=toolkit.createComposite(parent);
  GridData gd=new GridData(GridData.FILL_BOTH);
  passwordComposite.setLayoutData(gd);
  passwordComposite.setLayout(new FormLayout());
  passwordComposite.setBackground(GREY_COLOR);
  passwordLabel=toolkit.createLabel(passwordComposite,null);
  passwordLabel.setBackground(passwordComposite.getBackground());
  passwordLabel.setText(Messages.getString("String_Node_Str"));
  formData=new FormData();
  comfortColumnWidth(passwordLabel,formData);
  formData.top=new FormAttachment(passwordComposite,3,SWT.TOP);
  formData.left=new FormAttachment(0,HORIZONTAL_TWO_SPACE);
  passwordLabel.setLayoutData(formData);
  passwordText=toolkit.createText(passwordComposite,null,SWT.PASSWORD | SWT.BORDER);
  passwordText.setEditable(false);
  passwordText.setEnabled(false);
  formData=new FormData();
  formData.top=new FormAttachment(passwordComposite,1,SWT.TOP);
  formData.left=new FormAttachment(passwordLabel,HORIZONTAL_SPACE);
  formData.right=new FormAttachment(0,300);
  passwordText.setLayoutData(formData);
}