Program: 119071
Project: 119071
Buggy source:
/** 
 * DOC smallet ConnectionsComposite constructor comment.
 * @param parent
 * @param style
 */
public ConnectionsListComposite(Composite parent,int style){
  super(parent,style);
  list=getClonedList(LoginHelper.getInstance().getStoredConnections());
  if (list.isEmpty()) {
    boolean isOnlyRemoteConnection=brandingService.getBrandingConfiguration().isOnlyRemoteConnection();
    if (!isOnlyRemoteConnection) {
      list.add(ConnectionBean.getDefaultConnectionBean());
    }
 else {
      list.add(ConnectionBean.getDefaultRemoteConnectionBean());
    }
  }
  model=new ExtendedTableModel<ConnectionBean>(null,list);
  toolkit=new FormToolkit(getDisplay());
  Form form=toolkit.createForm(this);
  Composite formBody=form.getBody();
  GridLayout layout=new GridLayout();
  layout.marginHeight=0;
  layout.marginWidth=0;
  setLayout(layout);
  form.setLayoutData(new GridData(GridData.FILL_BOTH));
  FormLayout formLayout=new FormLayout();
  formBody.setLayout(formLayout);
  Group group=new Group(formBody,SWT.NONE);
  group.setText(Messages.getString("String_Node_Str"));
  group.setBackground(formBody.getBackground());
  FormData data=new FormData();
  data.left=new FormAttachment(0,ConnectionsDialog.HSPACE);
  data.right=new FormAttachment(100,-ConnectionsDialog.HSPACE);
  data.top=new FormAttachment(0,ConnectionsDialog.VSPACE);
  data.bottom=new FormAttachment(100,-ConnectionsDialog.VSPACE);
  group.setLayoutData(data);
  group.setLayout(new FillLayout());
  table=new AbstractDataTableEditorView<ConnectionBean>(group,SWT.NONE,model,false,true,false){
    @Override protected void setTableViewerCreatorOptions(    TableViewerCreator<ConnectionBean> newTableViewerCreator){
      super.setTableViewerCreatorOptions(newTableViewerCreator);
      newTableViewerCreator.setHeaderVisible(false);
      newTableViewerCreator.setVerticalScroll(true);
      newTableViewerCreator.setReadOnly(true);
    }
    @Override protected ExtendedToolbarView initToolBar(){
      if (!PluginChecker.isSVNProviderPluginLoaded()) {
        return null;
      }
      return new ConnectionsListButtonsToolBar(getMainComposite(),SWT.NONE,getExtendedTableViewer());
    }
    @Override protected void createColumns(    TableViewerCreator<ConnectionBean> tableViewerCreator,    Table table){
      TableViewerCreatorColumn nameColumn=new TableViewerCreatorColumn(tableViewerCreator);
      nameColumn.setTitle(Messages.getString("String_Node_Str"));
      nameColumn.setBeanPropertyAccessors(new IBeanPropertyAccessors<ConnectionBean,String>(){
        @Override public String get(        ConnectionBean bean){
          return bean.getName();
        }
        @Override public void set(        ConnectionBean bean,        String value){
          bean.setName(value);
        }
      }
);
      nameColumn.setWeight(20);
      nameColumn.setModifiable(!isReadOnly());
      nameColumn.setMinimumWidth(20);
      nameColumn.setCellEditor(new TextCellEditor(tableViewerCreator.getTable()));
      TableViewerCreatorColumn completeColumn=new TableViewerCreatorColumn(tableViewerCreator);
      completeColumn.setTitle(Messages.getString("String_Node_Str"));
      completeColumn.setBeanPropertyAccessors(new IBeanPropertyAccessors<ConnectionBean,Boolean>(){
        @Override public Boolean get(        ConnectionBean bean){
          return bean.isComplete();
        }
        @Override public void set(        ConnectionBean bean,        Boolean value){
          bean.setComplete(value);
        }
      }
);
      completeColumn.setWeight(5);
      completeColumn.setModifiable(false);
      completeColumn.setMinimumWidth(5);
      completeColumn.setImageProvider(new StatusImageProvider());
      completeColumn.setDisplayedValue("String_Node_Str");
    }
  }
;
  addListeners();
}

Fixed version (ground truth):
/** 
 * DOC smallet ConnectionsComposite constructor comment.
 * @param parent
 * @param style
 */
public ConnectionsListComposite(Composite parent,int style){
  super(parent,style);
  list=getClonedList(LoginHelper.getInstance().getStoredConnections());
  if (list.isEmpty()) {
    boolean isOnlyRemoteConnection=brandingService.getBrandingConfiguration().isOnlyRemoteConnection();
    if (!isOnlyRemoteConnection) {
      list.add(ConnectionBean.getDefaultConnectionBean());
    }
 else {
      list.add(ConnectionBean.getDefaultRemoteConnectionBean());
    }
  }
  model=new ExtendedTableModel<ConnectionBean>(null,list);
  toolkit=new FormToolkit(getDisplay());
  Form form=toolkit.createForm(this);
  Composite formBody=form.getBody();
  formBody.setBackground(ColorConstants.white);
  GridLayout layout=new GridLayout();
  layout.marginHeight=0;
  layout.marginWidth=0;
  setLayout(layout);
  form.setLayoutData(new GridData(GridData.FILL_BOTH));
  FormLayout formLayout=new FormLayout();
  formBody.setLayout(formLayout);
  Group group=new Group(formBody,SWT.NONE);
  group.setText(Messages.getString("String_Node_Str"));
  group.setBackground(formBody.getBackground());
  FormData data=new FormData();
  data.left=new FormAttachment(0,ConnectionsDialog.HSPACE);
  data.right=new FormAttachment(100,-ConnectionsDialog.HSPACE);
  data.top=new FormAttachment(0,ConnectionsDialog.VSPACE);
  data.bottom=new FormAttachment(100,-ConnectionsDialog.VSPACE);
  group.setLayoutData(data);
  group.setLayout(new FillLayout());
  table=new AbstractDataTableEditorView<ConnectionBean>(group,SWT.NONE,model,false,true,false){
    @Override protected void setTableViewerCreatorOptions(    TableViewerCreator<ConnectionBean> newTableViewerCreator){
      super.setTableViewerCreatorOptions(newTableViewerCreator);
      newTableViewerCreator.setHeaderVisible(false);
      newTableViewerCreator.setVerticalScroll(true);
      newTableViewerCreator.setReadOnly(true);
    }
    @Override protected ExtendedToolbarView initToolBar(){
      if (!PluginChecker.isSVNProviderPluginLoaded()) {
        return null;
      }
      return new ConnectionsListButtonsToolBar(getMainComposite(),SWT.NONE,getExtendedTableViewer());
    }
    @Override protected void createColumns(    TableViewerCreator<ConnectionBean> tableViewerCreator,    Table table){
      TableViewerCreatorColumn nameColumn=new TableViewerCreatorColumn(tableViewerCreator);
      nameColumn.setTitle(Messages.getString("String_Node_Str"));
      nameColumn.setBeanPropertyAccessors(new IBeanPropertyAccessors<ConnectionBean,String>(){
        @Override public String get(        ConnectionBean bean){
          return bean.getName();
        }
        @Override public void set(        ConnectionBean bean,        String value){
          bean.setName(value);
        }
      }
);
      nameColumn.setWeight(20);
      nameColumn.setModifiable(!isReadOnly());
      nameColumn.setMinimumWidth(20);
      nameColumn.setCellEditor(new TextCellEditor(tableViewerCreator.getTable()));
      TableViewerCreatorColumn completeColumn=new TableViewerCreatorColumn(tableViewerCreator);
      completeColumn.setTitle(Messages.getString("String_Node_Str"));
      completeColumn.setBeanPropertyAccessors(new IBeanPropertyAccessors<ConnectionBean,Boolean>(){
        @Override public Boolean get(        ConnectionBean bean){
          return bean.isComplete();
        }
        @Override public void set(        ConnectionBean bean,        Boolean value){
          bean.setComplete(value);
        }
      }
);
      completeColumn.setWeight(5);
      completeColumn.setModifiable(false);
      completeColumn.setMinimumWidth(5);
      completeColumn.setImageProvider(new StatusImageProvider());
      completeColumn.setDisplayedValue("String_Node_Str");
    }
  }
;
  addListeners();
}