Program: 72208
Project: 72208
Buggy source:
/** 
 * Creates tool bar pane.
 * @param parent the parent of controller
 * @return a tool bar pane
 */
protected Composite createController(Composite parent){
  Composite barPane=new Composite(parent,SWT.NONE);
  GridLayout layout=new GridLayout(8,false);
  GridData gdata=new GridData(GridData.FILL_HORIZONTAL);
  barPane.setLayout(layout);
  barPane.setLayoutData(gdata);
  initScriptLabel(barPane);
  initComboBoxes(barPane);
  butReset=new Button(barPane,SWT.PUSH);
  butReset.setText(Messages.getString("String_Node_Str"));
  GridData layoutData=new GridData();
  layoutData.horizontalIndent=6;
  butReset.setLayoutData(layoutData);
  butReset.addSelectionListener(new SelectionListener(){
    public void widgetSelected(    SelectionEvent e){
      SourceViewer viewer=getViewer();
      if (viewer != null) {
        viewer.getTextWidget().setText("String_Node_Str");
        setFocus();
      }
    }
    public void widgetDefaultSelected(    SelectionEvent e){
      widgetSelected(e);
    }
  }
);
  butValidate=new Button(barPane,SWT.PUSH);
  butValidate.setText(Messages.getString("String_Node_Str"));
  layoutData=new GridData();
  layoutData.horizontalIndent=6;
  butValidate.setLayoutData(layoutData);
  butValidate.addSelectionListener(new SelectionAdapter(){
    public void widgetSelected(    SelectionEvent e){
      doValidate();
    }
  }
);
  validateIcon=new Label(barPane,SWT.NULL);
  Label column=new Label(barPane,SWT.SEPARATOR | SWT.VERTICAL);
  layoutData=new GridData();
  layoutData.heightHint=20;
  layoutData.horizontalIndent=10;
  column.setLayoutData(layoutData);
  ano=new Label(barPane,0);
  layoutData=new GridData(GridData.FILL_HORIZONTAL | GridData.VERTICAL_ALIGN_CENTER);
  ano.setLayoutData(layoutData);
  final Composite sep=new Composite(parent,0);
  layoutData=new GridData(GridData.FILL_HORIZONTAL);
  layoutData.heightHint=1;
  sep.setLayoutData(layoutData);
  sep.addPaintListener(new PaintListener(){
    public void paintControl(    PaintEvent e){
      GC gc=e.gc;
      Rectangle rect=sep.getBounds();
      gc.setForeground(ColorConstants.darkGray);
      gc.drawLine(0,0,rect.width,0);
    }
  }
);
  return barPane;
}

Fixed version (ground truth):
/** 
 * Creates tool bar pane.
 * @param parent the parent of controller
 * @return a tool bar pane
 */
protected Composite createController(Composite parent){
  Composite barPane=new Composite(parent,SWT.NONE);
  GridLayout layout=new GridLayout(8,false);
  GridData gdata=new GridData(GridData.FILL_HORIZONTAL);
  barPane.setLayout(layout);
  barPane.setLayoutData(gdata);
  initScriptLabel(barPane);
  initComboBoxes(barPane);
  butReset=new Button(barPane,SWT.PUSH);
  butReset.setText(Messages.getString("String_Node_Str"));
  GridData layoutData=new GridData();
  layoutData.horizontalIndent=6;
  butReset.setLayoutData(layoutData);
  butReset.addSelectionListener(new SelectionListener(){
    public void widgetSelected(    SelectionEvent e){
      SourceViewer viewer=getViewer();
      if (viewer != null) {
        viewer.getTextWidget().setText("String_Node_Str");
        setFocus();
      }
    }
    public void widgetDefaultSelected(    SelectionEvent e){
      widgetSelected(e);
    }
  }
);
  butValidate=new Button(barPane,SWT.PUSH);
  butValidate.setText(Messages.getString("String_Node_Str"));
  layoutData=new GridData();
  layoutData.horizontalIndent=6;
  butValidate.setLayoutData(layoutData);
  butValidate.addSelectionListener(new SelectionAdapter(){
    public void widgetSelected(    SelectionEvent e){
      doValidate();
    }
  }
);
  validateIcon=new Label(barPane,SWT.NULL);
  Label column=new Label(barPane,SWT.SEPARATOR | SWT.VERTICAL);
  layoutData=new GridData();
  layoutData.heightHint=20;
  layoutData.horizontalIndent=10;
  column.setLayoutData(layoutData);
  ano=new Label(barPane,0);
  layoutData=new GridData(GridData.FILL_HORIZONTAL | GridData.VERTICAL_ALIGN_CENTER);
  ano.setLayoutData(layoutData);
  final Composite sep=new Composite(parent,0);
  layoutData=new GridData(GridData.FILL_HORIZONTAL);
  layoutData.heightHint=1;
  sep.setLayoutData(layoutData);
  sep.addPaintListener(new PaintListener(){
    public void paintControl(    PaintEvent e){
      GC gc=e.gc;
      Rectangle rect=sep.getBounds();
      gc.setForeground(ReportColorConstants.DarkGrayForground);
      gc.drawLine(0,0,rect.width,0);
    }
  }
);
  return barPane;
}