Program: 92232
Project: 92232
Buggy source:
@Override @SuppressWarnings("String_Node_Str") public void createPartControl(Composite parent){
  fParent=parent;
  final String currentEventLabel=Messages.HistogramView_currentEventLabel;
  final String windowSpanLabel=Messages.HistogramView_windowSpanLabel;
  Composite viewComposite=new Composite(fParent,SWT.FILL);
  GridLayout gridLayout=new GridLayout();
  gridLayout.numColumns=2;
  gridLayout.horizontalSpacing=5;
  gridLayout.verticalSpacing=0;
  gridLayout.marginHeight=0;
  gridLayout.marginWidth=0;
  viewComposite.setLayout(gridLayout);
  GridData gridData=new GridData();
  gridData.horizontalAlignment=SWT.FILL;
  gridData.verticalAlignment=SWT.FILL;
  gridData.grabExcessHorizontalSpace=true;
  viewComposite.setLayoutData(gridData);
  Composite controlsComposite=new Composite(viewComposite,SWT.FILL);
  gridLayout=new GridLayout();
  gridLayout.numColumns=2;
  gridLayout.marginHeight=0;
  gridLayout.marginWidth=0;
  gridLayout.horizontalSpacing=5;
  gridLayout.verticalSpacing=0;
  gridLayout.makeColumnsEqualWidth=true;
  gridLayout.marginLeft=5;
  gridLayout.marginRight=5;
  controlsComposite.setLayout(gridLayout);
  gridData=new GridData();
  gridData.horizontalAlignment=SWT.CENTER;
  gridData.verticalAlignment=SWT.CENTER;
  fCurrentEventTimeControl=new HistogramCurrentTimeControl(this,controlsComposite,SWT.BORDER,SWT.NONE,currentEventLabel,HistogramUtils.nanosecondsToString(0L));
  fCurrentEventTimeControl.setLayoutData(gridData);
  gridData=new GridData();
  gridData.horizontalAlignment=SWT.CENTER;
  gridData.verticalAlignment=SWT.CENTER;
  fTimeSpanControl=new HistogramTimeRangeControl(this,controlsComposite,SWT.BORDER,SWT.NONE,windowSpanLabel,HistogramUtils.nanosecondsToString(0L));
  fTimeSpanControl.setLayoutData(gridData);
  Composite timeRangeComposite=new Composite(viewComposite,SWT.FILL);
  gridLayout=new GridLayout();
  gridLayout.numColumns=1;
  gridLayout.marginHeight=0;
  gridLayout.marginWidth=0;
  gridLayout.marginTop=5;
  gridLayout.horizontalSpacing=0;
  gridLayout.verticalSpacing=0;
  gridLayout.marginLeft=5;
  gridLayout.marginRight=5;
  timeRangeComposite.setLayout(gridLayout);
  gridData=new GridData();
  gridData.horizontalAlignment=SWT.FILL;
  gridData.verticalAlignment=SWT.FILL;
  gridData.grabExcessHorizontalSpace=true;
  timeRangeComposite.setLayoutData(gridData);
  fTimeRangeHistogram=new TimeRangeHistogram(this,timeRangeComposite);
  Composite fullRangeComposite=new Composite(viewComposite,SWT.FILL);
  gridLayout=new GridLayout();
  gridLayout.numColumns=1;
  gridLayout.marginHeight=0;
  gridLayout.marginWidth=0;
  gridLayout.marginTop=5;
  gridLayout.horizontalSpacing=0;
  gridLayout.verticalSpacing=0;
  gridLayout.marginLeft=5;
  gridLayout.marginRight=5;
  fullRangeComposite.setLayout(gridLayout);
  gridData=new GridData();
  gridData.horizontalAlignment=SWT.FILL;
  gridData.verticalAlignment=SWT.FILL;
  gridData.horizontalSpan=2;
  gridData.grabExcessHorizontalSpace=true;
  fullRangeComposite.setLayoutData(gridData);
  fFullTraceHistogram=new FullTraceHistogram(this,fullRangeComposite);
  fCurrentExperiment=(TmfExperiment<ITmfEvent>)TmfExperiment.getCurrentExperiment();
  if (fCurrentExperiment != null)   loadExperiment();
}

Fixed version (ground truth):
@Override @SuppressWarnings("String_Node_Str") public void createPartControl(Composite parent){
  fParent=parent;
  final String currentEventLabel=Messages.HistogramView_currentEventLabel;
  final String windowSpanLabel=Messages.HistogramView_windowSpanLabel;
  Composite viewComposite=new Composite(fParent,SWT.FILL);
  GridLayout gridLayout=new GridLayout();
  gridLayout.numColumns=2;
  gridLayout.horizontalSpacing=5;
  gridLayout.verticalSpacing=0;
  gridLayout.marginHeight=0;
  gridLayout.marginWidth=0;
  viewComposite.setLayout(gridLayout);
  GridData gridData=new GridData();
  gridData.horizontalAlignment=SWT.FILL;
  gridData.verticalAlignment=SWT.FILL;
  gridData.grabExcessHorizontalSpace=true;
  viewComposite.setLayoutData(gridData);
  Composite controlsComposite=new Composite(viewComposite,SWT.FILL);
  gridLayout=new GridLayout();
  gridLayout.numColumns=2;
  gridLayout.marginHeight=0;
  gridLayout.marginWidth=0;
  gridLayout.horizontalSpacing=5;
  gridLayout.verticalSpacing=0;
  gridLayout.makeColumnsEqualWidth=true;
  gridLayout.marginLeft=5;
  gridLayout.marginRight=5;
  controlsComposite.setLayout(gridLayout);
  gridData=new GridData();
  gridData.horizontalAlignment=SWT.CENTER;
  gridData.verticalAlignment=SWT.CENTER;
  fCurrentEventTimeControl=new HistogramCurrentTimeControl(this,controlsComposite,SWT.BORDER,SWT.NONE,currentEventLabel,HistogramUtils.nanosecondsToString(0L));
  fCurrentEventTimeControl.setLayoutData(gridData);
  gridData=new GridData();
  gridData.horizontalAlignment=SWT.CENTER;
  gridData.verticalAlignment=SWT.CENTER;
  fTimeSpanControl=new HistogramTimeRangeControl(this,controlsComposite,SWT.BORDER,SWT.NONE,windowSpanLabel,HistogramUtils.nanosecondsToString(0L));
  fTimeSpanControl.setLayoutData(gridData);
  Composite timeRangeComposite=new Composite(viewComposite,SWT.FILL);
  gridLayout=new GridLayout();
  gridLayout.numColumns=1;
  gridLayout.marginHeight=0;
  gridLayout.marginWidth=0;
  gridLayout.marginTop=5;
  gridLayout.horizontalSpacing=0;
  gridLayout.verticalSpacing=0;
  gridLayout.marginLeft=5;
  gridLayout.marginRight=5;
  timeRangeComposite.setLayout(gridLayout);
  gridData=new GridData();
  gridData.horizontalAlignment=SWT.FILL;
  gridData.verticalAlignment=SWT.FILL;
  gridData.grabExcessHorizontalSpace=true;
  timeRangeComposite.setLayoutData(gridData);
  fTimeRangeHistogram=new TimeRangeHistogram(this,timeRangeComposite);
  Composite fullRangeComposite=new Composite(viewComposite,SWT.FILL);
  gridLayout=new GridLayout();
  gridLayout.numColumns=1;
  gridLayout.marginHeight=0;
  gridLayout.marginWidth=0;
  gridLayout.marginTop=5;
  gridLayout.horizontalSpacing=0;
  gridLayout.verticalSpacing=0;
  gridLayout.marginLeft=5;
  gridLayout.marginRight=5;
  fullRangeComposite.setLayout(gridLayout);
  gridData=new GridData();
  gridData.horizontalAlignment=SWT.FILL;
  gridData.verticalAlignment=SWT.FILL;
  gridData.horizontalSpan=2;
  gridData.grabExcessHorizontalSpace=true;
  fullRangeComposite.setLayoutData(gridData);
  fFullTraceHistogram=new FullTraceHistogram(this,fullRangeComposite);
  fCurrentExperiment=(TmfExperiment<ITmfEvent>)TmfExperiment.getCurrentExperiment();
  if (fCurrentExperiment != null) {
    loadExperiment();
  }
}