Program: 118024
Project: 118024
Buggy source:
@Override protected void addItemsOption(Composite parent){
  Group option=new Group(parent,SWT.NONE);
  option.setLayout(new GridLayout());
  option.setText(Messages.getString("String_Node_Str"));
  GridDataFactory.swtDefaults().align(SWT.FILL,SWT.CENTER).applyTo(option);
  fixedVersionButton=new Button(option,SWT.RADIO);
  fixedVersionButton.setText(Messages.getString("String_Node_Str"));
  fixedVersionButton.setSelection(true);
  Composite versionComposit=new Composite(option,SWT.NONE);
  GridLayout layout=new GridLayout(8,false);
  layout.horizontalSpacing=1;
  layout.verticalSpacing=0;
  layout.marginHeight=0;
  layout.marginWidth=0;
  versionComposit.setLayout(layout);
  GridDataFactory.swtDefaults().align(SWT.FILL,SWT.BEGINNING).applyTo(versionComposit);
  fixedVersionText=new Text(versionComposit,SWT.BORDER);
  GridData data=new GridData();
  data.widthHint=120;
  data.minimumWidth=80;
  data.horizontalIndent=20;
  fixedVersionText.setLayoutData(data);
  fixedVersionText.setText(MavenVersionUtils.DEFAULT_MAVEN_VERSION);
  applyVersionButton=new Button(versionComposit,SWT.NONE);
  applyVersionButton.setText(Messages.getString("String_Node_Str"));
  subjobs=new Button(versionComposit,SWT.NONE);
  subjobs.setText(Messages.getString("String_Node_Str"));
  subjobs.setEnabled(false);
  eachVersionButton=new Button(option,SWT.RADIO);
  eachVersionButton.setText(Messages.getString("String_Node_Str"));
  useJobVersionButton=new Button(option,SWT.RADIO);
  useJobVersionButton.setText(Messages.getString("String_Node_Str"));
  fixedVersionButton.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      fixedVersionText.setEnabled(fixedVersionButton.getSelection());
      applyVersionButton.setEnabled(fixedVersionButton.getSelection());
      researchMaxVersion();
      refreshTableItems();
    }
  }
);
  applyVersionButton.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      String version=fixedVersionText.getText();
      if (version != null && !"String_Node_Str".equals(version.trim())) {
        appliedFixedVersion=version;
        refreshTableItems();
      }
    }
  }
);
  subjobs.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      selectSubjob();
    }
  }
);
  eachVersionButton.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      refreshTableItems();
    }
  }
);
  useJobVersionButton.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      refreshTableItems();
    }
  }
);
}

Fixed version (ground truth):
@Override protected void addItemsOption(Composite parent){
  Group option=new Group(parent,SWT.NONE);
  option.setLayout(new GridLayout());
  option.setText(Messages.getString("String_Node_Str"));
  GridDataFactory.swtDefaults().align(SWT.FILL,SWT.CENTER).applyTo(option);
  fixedVersionButton=new Button(option,SWT.RADIO);
  fixedVersionButton.setText(Messages.getString("String_Node_Str"));
  fixedVersionButton.setSelection(true);
  Composite versionComposit=new Composite(option,SWT.NONE);
  GridLayout layout=new GridLayout(8,false);
  layout.horizontalSpacing=1;
  layout.verticalSpacing=0;
  layout.marginHeight=0;
  layout.marginWidth=0;
  versionComposit.setLayout(layout);
  GridDataFactory.swtDefaults().align(SWT.FILL,SWT.BEGINNING).applyTo(versionComposit);
  fixedVersionText=new Text(versionComposit,SWT.BORDER);
  GridData data=new GridData();
  data.widthHint=120;
  data.minimumWidth=80;
  data.horizontalIndent=20;
  fixedVersionText.setLayoutData(data);
  fixedVersionText.setText(MavenVersionUtils.DEFAULT_MAVEN_VERSION);
  applyVersionButton=new Button(versionComposit,SWT.NONE);
  applyVersionButton.setText(Messages.getString("String_Node_Str"));
  subjobs=new Button(versionComposit,SWT.NONE);
  subjobs.setText(Messages.getString("String_Node_Str"));
  subjobs.setEnabled(false);
  eachVersionButton=new Button(option,SWT.RADIO);
  eachVersionButton.setText(Messages.getString("String_Node_Str"));
  useJobVersionButton=new Button(option,SWT.RADIO);
  useJobVersionButton.setText(Messages.getString("String_Node_Str"));
  fixedVersionButton.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      fixedVersionText.setEnabled(fixedVersionButton.getSelection());
      applyVersionButton.setEnabled(fixedVersionButton.getSelection());
      refreshTableItems();
    }
  }
);
  fixedVersionText.addModifyListener(new ModifyListener(){
    @Override public void modifyText(    ModifyEvent e){
      String version=fixedVersionText.getText();
      if (MavenVersionUtils.isValidMavenVersion(version)) {
        applyVersionButton.setEnabled(true);
        fixedVersionText.setForeground(COLOR_BLACK);
      }
 else {
        applyVersionButton.setEnabled(false);
        fixedVersionText.setForeground(COLOR_RED);
      }
    }
  }
);
  applyVersionButton.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      String version=fixedVersionText.getText();
      if (version != null && !"String_Node_Str".equals(version.trim())) {
        appliedFixedVersion=version;
        refreshTableItems();
      }
    }
  }
);
  subjobs.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      selectSubjob();
    }
  }
);
  eachVersionButton.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      refreshTableItems();
    }
  }
);
  useJobVersionButton.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      refreshTableItems();
    }
  }
);
}