Program: 67725
Project: 67725
Buggy source:
private void createSeriesDetail(Composite cmpRight){
  lblRatio=new Label(cmpRight,SWT.NONE);
{
    lblRatio.setText(Messages.getString("String_Node_Str"));
    lblRatio.setToolTipText(TOOLTIP_RATIO);
  }
  sRatio=new Slider(cmpRight,SWT.HORIZONTAL);
{
    GridData gridData=new GridData(GridData.FILL_HORIZONTAL);
    gridData.horizontalSpan=2;
    sRatio.setLayoutData(gridData);
    sRatio.setValues((int)(series.getRatio() * 10),1,101,1,1,10);
    sRatio.setToolTipText(String.valueOf(series.getRatio()));
    sRatio.setEnabled(true);
    sRatio.addSelectionListener(this);
    sRatio.addListener(SWT.FocusOut,this);
    sRatio.addListener(SWT.KeyDown,this);
    sRatio.addListener(SWT.Traverse,this);
  }
  lblRotation=new Label(cmpRight,SWT.NONE);
{
    lblRotation.setText(Messages.getString("String_Node_Str"));
    lblRotation.setToolTipText(TOOLTIP_ROTATION);
  }
  sRotation=new Slider(cmpRight,SWT.HORIZONTAL);
{
    GridData gridData=new GridData(GridData.FILL_HORIZONTAL);
    gridData.horizontalSpan=2;
    sRotation.setLayoutData(gridData);
    sRotation.setValues((int)(series.getRotation()),0,360,1,1,10);
    sRotation.setToolTipText(String.valueOf(series.getRotation()));
    sRotation.setEnabled(true);
    sRotation.addSelectionListener(this);
    sRotation.addListener(SWT.FocusOut,this);
    sRotation.addListener(SWT.KeyDown,this);
    sRotation.addListener(SWT.Traverse,this);
  }
  btnDirection=new Button(cmpRight,SWT.CHECK);
{
    btnDirection.setText(Messages.getString("String_Node_Str"));
    btnDirection.setToolTipText(Messages.getString("String_Node_Str"));
    btnDirection.addListener(SWT.Selection,this);
    btnDirection.setSelection(series.isClockwise());
  }
  Group grpSlice=new Group(cmpRight,SWT.NONE);
{
    GridLayout gridLayout=new GridLayout(3,false);
    gridLayout.marginWidth=0;
    GridData gd=new GridData(GridData.FILL_BOTH);
    gd.horizontalSpan=3;
    grpSlice.setLayoutData(gd);
    grpSlice.setLayout(gridLayout);
    grpSlice.setText(Messages.getString("String_Node_Str"));
  }
  lblExpSliWhen=new Label(grpSlice,SWT.NONE);
{
    lblExpSliWhen.setText(Messages.getString("String_Node_Str"));
    lblExpSliWhen.setToolTipText(TOOLTIP_EXPLODE_SLICE_WHEN);
  }
  txtExplode=new TextEditorComposite(grpSlice,SWT.BORDER | SWT.SINGLE);
{
    GridData gd=new GridData(GridData.FILL_HORIZONTAL);
    txtExplode.setLayoutData(gd);
    if (series.getExplosionExpression() != null) {
      txtExplode.setText(series.getExplosionExpression());
    }
    txtExplode.setToolTipText(Messages.getString("String_Node_Str"));
    txtExplode.addListener(this);
  }
  btnBuilder=new Button(grpSlice,SWT.PUSH);
{
    GridData gdBTNBuilder=new GridData();
    gdBTNBuilder.heightHint=20;
    gdBTNBuilder.widthHint=20;
    btnBuilder.setLayoutData(gdBTNBuilder);
    btnBuilder.setImage(UIHelper.getImage("String_Node_Str"));
    btnBuilder.addSelectionListener(this);
    btnBuilder.setToolTipText(Messages.getString("String_Node_Str"));
    btnBuilder.getImage().setBackground(btnBuilder.getBackground());
    if (context.getUIServiceProvider() == null) {
      btnBuilder.setEnabled(false);
    }
  }
  lblExpDistance=new Label(grpSlice,SWT.NONE);
{
    lblExpDistance.setText(Messages.getString("String_Node_Str"));
    lblExpDistance.setToolTipText(TOOLTIP_EXPLOSION_DISTANCE);
  }
  iscExplosion=new Spinner(grpSlice,SWT.BORDER);
{
    GridData gdISCExplosion=new GridData(GridData.FILL_HORIZONTAL);
    gdISCExplosion.horizontalSpan=2;
    iscExplosion.setLayoutData(gdISCExplosion);
    iscExplosion.setMinimum(0);
    iscExplosion.setMaximum(100);
    iscExplosion.setSelection(series.getExplosion());
    iscExplosion.addSelectionListener(this);
  }
  Label lblSliceOutline=new Label(grpSlice,SWT.NONE);
  GridData gdLBLSliceOutline=new GridData();
  lblSliceOutline.setLayoutData(gdLBLSliceOutline);
  lblSliceOutline.setText(Messages.getString("String_Node_Str"));
  fccSliceOutline=new FillChooserComposite(grpSlice,SWT.NONE,context,series.getSliceOutline(),false,false);
  GridData gdFCCSliceOutline=new GridData(GridData.FILL_HORIZONTAL);
  gdFCCSliceOutline.horizontalSpan=2;
  fccSliceOutline.setLayoutData(gdFCCSliceOutline);
  fccSliceOutline.addListener(this);
}

Fixed version (ground truth):
private void createSeriesDetail(Composite cmpRight){
  lblRatio=new Label(cmpRight,SWT.NONE);
{
    lblRatio.setText(Messages.getString("String_Node_Str"));
    lblRatio.setToolTipText(TOOLTIP_RATIO);
  }
  sRatio=new Slider(cmpRight,SWT.HORIZONTAL);
{
    GridData gridData=new GridData(GridData.FILL_HORIZONTAL);
    gridData.horizontalSpan=2;
    sRatio.setLayoutData(gridData);
    sRatio.setValues((int)(series.getRatio() * 10),1,101,1,1,10);
    sRatio.setToolTipText(String.valueOf(series.getRatio()));
    sRatio.setEnabled(true);
    sRatio.addSelectionListener(this);
    sRatio.addListener(SWT.FocusOut,this);
    sRatio.addListener(SWT.KeyDown,this);
    sRatio.addListener(SWT.Traverse,this);
  }
  lblRotation=new Label(cmpRight,SWT.NONE);
{
    lblRotation.setText(Messages.getString("String_Node_Str"));
    lblRotation.setToolTipText(TOOLTIP_ROTATION);
  }
  sRotation=new Slider(cmpRight,SWT.HORIZONTAL);
{
    GridData gridData=new GridData(GridData.FILL_HORIZONTAL);
    gridData.horizontalSpan=2;
    sRotation.setLayoutData(gridData);
    sRotation.setValues((int)(series.getRotation()),0,360,1,1,10);
    sRotation.setToolTipText(String.valueOf(series.getRotation()));
    sRotation.setEnabled(true);
    sRotation.addSelectionListener(this);
    sRotation.addListener(SWT.FocusOut,this);
    sRotation.addListener(SWT.KeyDown,this);
    sRotation.addListener(SWT.Traverse,this);
  }
  btnDirection=new Button(cmpRight,SWT.CHECK);
{
    btnDirection.setText(Messages.getString("String_Node_Str"));
    btnDirection.setToolTipText(Messages.getString("String_Node_Str"));
    btnDirection.addListener(SWT.Selection,this);
    btnDirection.setSelection(series.isClockwise());
  }
  Group grpSlice=new Group(cmpRight,SWT.NONE);
{
    GridLayout gridLayout=new GridLayout(3,false);
    gridLayout.marginWidth=0;
    GridData gd=new GridData(GridData.FILL_BOTH);
    gd.horizontalSpan=3;
    grpSlice.setLayoutData(gd);
    grpSlice.setLayout(gridLayout);
    grpSlice.setText(Messages.getString("String_Node_Str"));
  }
  lblExpSliWhen=new Label(grpSlice,SWT.NONE);
{
    lblExpSliWhen.setText(Messages.getString("String_Node_Str"));
    lblExpSliWhen.setToolTipText(TOOLTIP_EXPLODE_SLICE_WHEN);
  }
  txtExplode=new TextEditorComposite(grpSlice,SWT.BORDER | SWT.SINGLE);
{
    GridData gd=new GridData(GridData.FILL_HORIZONTAL);
    txtExplode.setLayoutData(gd);
    if (series.getExplosionExpression() != null) {
      txtExplode.setText(series.getExplosionExpression());
    }
    txtExplode.setToolTipText(Messages.getString("String_Node_Str"));
    txtExplode.addListener(this);
  }
  btnBuilder=new Button(grpSlice,SWT.PUSH);
{
    GridData gdBTNBuilder=new GridData();
    gdBTNBuilder.heightHint=20;
    gdBTNBuilder.widthHint=20;
    btnBuilder.setLayoutData(gdBTNBuilder);
    btnBuilder.setImage(UIHelper.getImage("String_Node_Str"));
    btnBuilder.addSelectionListener(this);
    btnBuilder.setToolTipText(Messages.getString("String_Node_Str"));
    btnBuilder.getImage().setBackground(btnBuilder.getBackground());
    if (context.getUIServiceProvider() == null) {
      btnBuilder.setEnabled(false);
    }
  }
  lblExpDistance=new Label(grpSlice,SWT.NONE);
{
    lblExpDistance.setText(Messages.getString("String_Node_Str"));
    lblExpDistance.setToolTipText(TOOLTIP_EXPLOSION_DISTANCE);
  }
  iscExplosion=new Spinner(grpSlice,SWT.BORDER);
{
    GridData gdISCExplosion=new GridData(GridData.FILL_HORIZONTAL);
    gdISCExplosion.horizontalSpan=2;
    iscExplosion.setLayoutData(gdISCExplosion);
    iscExplosion.setMinimum(0);
    iscExplosion.setMaximum(100);
    iscExplosion.setSelection(series.getExplosion());
    iscExplosion.addSelectionListener(this);
  }
  Label lblSliceOutline=new Label(grpSlice,SWT.NONE);
  GridData gdLBLSliceOutline=new GridData();
  lblSliceOutline.setLayoutData(gdLBLSliceOutline);
  lblSliceOutline.setText(Messages.getString("String_Node_Str"));
  fccSliceOutline=new FillChooserComposite(grpSlice,SWT.NONE,context,series.getSliceOutline(),false,false,false);
  GridData gdFCCSliceOutline=new GridData(GridData.FILL_HORIZONTAL);
  gdFCCSliceOutline.horizontalSpan=2;
  fccSliceOutline.setLayoutData(gdFCCSliceOutline);
  fccSliceOutline.addListener(this);
}