Program: 119291
Project: 119291
Buggy source:
protected final void myCreateButtonsGroup(Composite parent){
  Font font=parent.getFont();
  Composite buttonComposite=new Composite(parent,SWT.NONE);
  buttonComposite.setFont(parent.getFont());
  GridLayout layout=new GridLayout();
  layout.numColumns=3;
  layout.makeColumnsEqualWidth=true;
  buttonComposite.setLayout(layout);
  buttonComposite.setLayoutData(new GridData(GridData.VERTICAL_ALIGN_FILL | GridData.HORIZONTAL_ALIGN_FILL));
  Button selectTypesButton=createButton(buttonComposite,IDialogConstants.SELECT_TYPES_ID,SELECT_TYPES_TITLE,false);
  SelectionListener listener=new SelectionAdapter(){
    public void widgetSelected(    SelectionEvent e){
      handleTypesEditButtonPressed();
    }
  }
;
  selectTypesButton.addSelectionListener(listener);
  selectTypesButton.setFont(font);
  setButtonLayoutData(selectTypesButton);
  Button selectButton=createButton(buttonComposite,IDialogConstants.SELECT_ALL_ID,SELECT_ALL_TITLE,false);
  listener=new SelectionAdapter(){
    public void widgetSelected(    SelectionEvent e){
      resourceGroup.setAllSelections(true);
      updateWidgetEnablements();
    }
  }
;
  selectButton.addSelectionListener(listener);
  selectButton.setFont(font);
  setButtonLayoutData(selectButton);
  Button deselectButton=createButton(buttonComposite,IDialogConstants.DESELECT_ALL_ID,DESELECT_ALL_TITLE,false);
  listener=new SelectionAdapter(){
    public void widgetSelected(    SelectionEvent e){
      resourceGroup.setAllSelections(false);
      updateWidgetEnablements();
    }
  }
;
  deselectButton.addSelectionListener(listener);
  deselectButton.setFont(font);
  setButtonLayoutData(deselectButton);
}

Fixed version (ground truth):
protected final void myCreateButtonsGroup(Composite parent){
  Font font=parent.getFont();
  Composite buttonComposite=new Composite(parent,SWT.NONE);
  buttonComposite.setFont(parent.getFont());
  GridLayout layout=new GridLayout();
  layout.numColumns=3;
  layout.makeColumnsEqualWidth=true;
  buttonComposite.setLayout(layout);
  buttonComposite.setLayoutData(new GridData(GridData.VERTICAL_ALIGN_FILL | GridData.HORIZONTAL_ALIGN_FILL));
  Button selectTypesButton=createButton(buttonComposite,IDialogConstants.SELECT_TYPES_ID,SELECT_TYPES_TITLE,false);
  SelectionListener listener=new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      handleTypesEditButtonPressed();
    }
  }
;
  selectTypesButton.addSelectionListener(listener);
  selectTypesButton.setFont(font);
  setButtonLayoutData(selectTypesButton);
  Button selectButton=createButton(buttonComposite,IDialogConstants.SELECT_ALL_ID,SELECT_ALL_TITLE,false);
  listener=new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      resourceGroup.setAllSelections(true);
      updateWidgetEnablements();
    }
  }
;
  selectButton.addSelectionListener(listener);
  selectButton.setFont(font);
  setButtonLayoutData(selectButton);
  Button deselectButton=createButton(buttonComposite,IDialogConstants.DESELECT_ALL_ID,DESELECT_ALL_TITLE,false);
  listener=new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      resourceGroup.setAllSelections(false);
      updateWidgetEnablements();
    }
  }
;
  deselectButton.addSelectionListener(listener);
  deselectButton.setFont(font);
  setButtonLayoutData(deselectButton);
}