Program: 95756
Project: 95756
Buggy source:
/** 
 * @param area The composite. creates the text field to edit the TestSuite name.
 * @param version the inital version for the fields
 */
private void createVersionFields(Composite area,ProjectVersion version){
  new Label(area,SWT.NONE).setText(Messages.CreateNewProjectVersionActionVersionNumbers);
  m_majorVersionField=new CheckedIntText(area,SWT.SINGLE | SWT.BORDER,true,0,Integer.MAX_VALUE);
  GridData gridData=newGridData();
  LayoutUtil.addToolTipAndMaxWidth(gridData,m_majorVersionField);
  gridData.widthHint=Dialog.convertWidthInCharsToPixels(LayoutUtil.getFontMetrics(m_majorVersionField),6);
  m_majorVersionField.setLayoutData(gridData);
  m_majorVersionField.setText(version.getMajorNumber() != null ? String.valueOf(version.getMajorNumber()) : StringConstants.EMPTY);
  LayoutUtil.setMaxChar(m_majorVersionField,m_length);
  m_majorVersionField.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      modifyVersionFieldAction();
    }
  }
);
  m_minorVersionField=new CheckedIntText(area,SWT.SINGLE | SWT.BORDER,true,0,Integer.MAX_VALUE);
  gridData=newGridData();
  LayoutUtil.addToolTipAndMaxWidth(gridData,m_minorVersionField);
  gridData.widthHint=Dialog.convertWidthInCharsToPixels(LayoutUtil.getFontMetrics(m_minorVersionField),6);
  m_minorVersionField.setLayoutData(gridData);
  m_minorVersionField.setText(version.getMinorNumber() != null ? String.valueOf(version.getMinorNumber()) : StringConstants.EMPTY);
  LayoutUtil.setMaxChar(m_minorVersionField,m_length);
  m_minorVersionField.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      modifyVersionFieldAction();
    }
  }
);
  m_microVersionField=new CheckedIntText(area,SWT.SINGLE | SWT.BORDER,true,0,Integer.MAX_VALUE);
  gridData=newGridData();
  LayoutUtil.addToolTipAndMaxWidth(gridData,m_microVersionField);
  gridData.widthHint=Dialog.convertWidthInCharsToPixels(LayoutUtil.getFontMetrics(m_microVersionField),11);
  m_microVersionField.setLayoutData(gridData);
  m_microVersionField.setText(version.getMicroNumber() != null ? String.valueOf(version.getMicroNumber()) : StringConstants.EMPTY);
  LayoutUtil.setMaxChar(m_microVersionField,m_length);
  m_microVersionField.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      modifyVersionFieldAction();
    }
  }
);
  new Label(area,SWT.NONE).setText(Messages.CreateNewProjectVersionActionQualifierLabel);
  m_versionQualifierField=new Text(area,SWT.SINGLE | SWT.BORDER);
  gridData=newGridData();
  LayoutUtil.addToolTipAndMaxWidth(gridData,m_versionQualifierField);
  gridData.widthHint=0;
  gridData.horizontalSpan=3;
  gridData.horizontalAlignment=GridData.FILL;
  m_versionQualifierField.setLayoutData(gridData);
  m_versionQualifierField.setText(StringUtils.defaultIfBlank(version.getVersionQualifier(),StringConstants.EMPTY));
  LayoutUtil.setMaxChar(m_versionQualifierField,m_length);
  m_versionQualifierField.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      modifyVersionFieldAction();
    }
  }
);
}

Fixed version (ground truth):
/** 
 * @param area The composite. creates the text field to edit the TestSuite name.
 * @param version the inital version for the fields
 */
private void createVersionFields(Composite area,ProjectVersion version){
  new Label(area,SWT.NONE).setText(Messages.CreateNewProjectVersionActionVersionNumbers);
  m_majorVersionField=new CheckedIntText(area,SWT.SINGLE | SWT.BORDER,true,0,Integer.MAX_VALUE);
  GridData gridData=newGridData();
  LayoutUtil.addToolTipAndMaxWidth(gridData,m_majorVersionField);
  gridData.widthHint=Dialog.convertWidthInCharsToPixels(LayoutUtil.getFontMetrics(m_majorVersionField),6);
  m_majorVersionField.setLayoutData(gridData);
  m_majorVersionField.setText(version.getMajorNumber() != null ? String.valueOf(version.getMajorNumber()) : StringConstants.EMPTY);
  LayoutUtil.setMaxChar(m_majorVersionField,m_length);
  m_majorVersionField.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      modifyVersionFieldAction();
    }
  }
);
  m_majorVersionField.setData(SwtAUTHierarchyConstants.WIDGET_NAME,"String_Node_Str");
  m_minorVersionField=new CheckedIntText(area,SWT.SINGLE | SWT.BORDER,true,0,Integer.MAX_VALUE);
  gridData=newGridData();
  LayoutUtil.addToolTipAndMaxWidth(gridData,m_minorVersionField);
  gridData.widthHint=Dialog.convertWidthInCharsToPixels(LayoutUtil.getFontMetrics(m_minorVersionField),6);
  m_minorVersionField.setLayoutData(gridData);
  m_minorVersionField.setText(version.getMinorNumber() != null ? String.valueOf(version.getMinorNumber()) : StringConstants.EMPTY);
  LayoutUtil.setMaxChar(m_minorVersionField,m_length);
  m_minorVersionField.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      modifyVersionFieldAction();
    }
  }
);
  m_minorVersionField.setData(SwtAUTHierarchyConstants.WIDGET_NAME,"String_Node_Str");
  m_microVersionField=new CheckedIntText(area,SWT.SINGLE | SWT.BORDER,true,0,Integer.MAX_VALUE);
  gridData=newGridData();
  LayoutUtil.addToolTipAndMaxWidth(gridData,m_microVersionField);
  gridData.widthHint=Dialog.convertWidthInCharsToPixels(LayoutUtil.getFontMetrics(m_microVersionField),11);
  m_microVersionField.setLayoutData(gridData);
  m_microVersionField.setText(version.getMicroNumber() != null ? String.valueOf(version.getMicroNumber()) : StringConstants.EMPTY);
  LayoutUtil.setMaxChar(m_microVersionField,m_length);
  m_microVersionField.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      modifyVersionFieldAction();
    }
  }
);
  m_microVersionField.setData(SwtAUTHierarchyConstants.WIDGET_NAME,"String_Node_Str");
  new Label(area,SWT.NONE).setText(Messages.CreateNewProjectVersionActionQualifierLabel);
  m_versionQualifierField=new Text(area,SWT.SINGLE | SWT.BORDER);
  gridData=newGridData();
  LayoutUtil.addToolTipAndMaxWidth(gridData,m_versionQualifierField);
  gridData.widthHint=0;
  gridData.horizontalSpan=3;
  gridData.horizontalAlignment=GridData.FILL;
  m_versionQualifierField.setLayoutData(gridData);
  m_versionQualifierField.setText(StringUtils.defaultIfBlank(version.getVersionQualifier(),StringConstants.EMPTY));
  LayoutUtil.setMaxChar(m_versionQualifierField,m_length);
  m_versionQualifierField.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      modifyVersionFieldAction();
    }
  }
);
  m_versionQualifierField.setData(SwtAUTHierarchyConstants.WIDGET_NAME,"String_Node_Str");
}