Program: 118246
Project: 118246
Buggy source:
/** 
 * ftang Comment method "createJobVersionGroup".
 * @param composite
 */
protected void createJobVersionGroup(Composite parent){
  Group versionGroup=new Group(parent,SWT.NONE);
  GridLayout layout=new GridLayout();
  versionGroup.setLayout(layout);
  versionGroup.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  versionGroup.setText(Messages.getString("String_Node_Str",getProcessType()));
  versionGroup.setFont(parent.getFont());
  versionGroup.setLayout(new GridLayout(1,true));
  Composite left=new Composite(versionGroup,SWT.NONE);
  left.setLayoutData(new GridData(SWT.LEFT,SWT.TOP,true,false));
  left.setLayout(new GridLayout(3,false));
  Label label=new Label(left,SWT.NONE);
  label.setText(Messages.getString("String_Node_Str",getProcessType()));
  final Combo versionCombo=new Combo(left,SWT.PUSH);
  GridData gd=new GridData();
  gd.horizontalSpan=1;
  versionCombo.setLayoutData(gd);
  String[] allVersions=JobVersionUtils.getAllVersions(nodes[0]);
  String currentVersion=JobVersionUtils.getCurrentVersion(nodes[0]);
  versionCombo.setItems(allVersions);
  if (allVersions.length > 1) {
    versionCombo.add(RelationshipItemBuilder.LATEST_VERSION);
  }
  versionCombo.setText(currentVersion);
  selectedJobVersion=currentVersion;
  versionCombo.addSelectionListener(new SelectionListener(){
    @Override public void widgetSelected(    SelectionEvent e){
      selectedJobVersion=versionCombo.getText();
    }
    @Override public void widgetDefaultSelected(    SelectionEvent e){
      widgetSelected(e);
    }
  }
);
}

Fixed version (ground truth):
/** 
 * ftang Comment method "createJobVersionGroup".
 * @param composite
 */
protected void createJobVersionGroup(Composite parent){
  Group versionGroup=new Group(parent,SWT.NONE);
  GridLayout layout=new GridLayout();
  versionGroup.setLayout(layout);
  versionGroup.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  versionGroup.setText(Messages.getString("String_Node_Str",getProcessType()));
  versionGroup.setFont(parent.getFont());
  versionGroup.setLayout(new GridLayout(1,true));
  Composite left=new Composite(versionGroup,SWT.NONE);
  left.setLayoutData(new GridData(SWT.LEFT,SWT.TOP,true,false));
  left.setLayout(new GridLayout(3,false));
  Label label=new Label(left,SWT.NONE);
  label.setText(Messages.getString("String_Node_Str",getProcessType()));
  final Combo versionCombo=new Combo(left,SWT.PUSH);
  GridData gd=new GridData();
  gd.horizontalSpan=1;
  versionCombo.setLayoutData(gd);
  String[] allVersions=JobVersionUtils.getAllVersions(nodes[0]);
  Arrays.sort(allVersions);
  String currentVersion=JobVersionUtils.getCurrentVersion(nodes[0]);
  versionCombo.setItems(allVersions);
  if (allVersions.length > 1) {
    versionCombo.add(RelationshipItemBuilder.LATEST_VERSION);
  }
  versionCombo.setText(currentVersion);
  selectedJobVersion=currentVersion;
  versionCombo.addSelectionListener(new SelectionListener(){
    @Override public void widgetSelected(    SelectionEvent e){
      selectedJobVersion=versionCombo.getText();
    }
    @Override public void widgetDefaultSelected(    SelectionEvent e){
      widgetSelected(e);
    }
  }
);
}