Program: 127995
Project: 127995
Buggy source:
private void createVersionFields(Composite parent){
  GridData layoutData=new GridData(GridData.FILL_HORIZONTAL);
  importFromVersion=new Button(parent,SWT.RADIO);
  importFromVersion.setText(Messages.getString("String_Node_Str"));
  importFromVersion.setLayoutData(layoutData);
  Composite existVersionGroup=new Composite(parent,SWT.NONE);
  GridLayout layout=new GridLayout();
  layout.numColumns=3;
  layout.marginLeft=10;
  existVersionGroup.setLayout(layout);
  distributionCombo=new LabelledCombo(existVersionGroup,Messages.getString("String_Node_Str"),Messages.getString("String_Node_Str"),new String[0],2,true);
  distributionCombo.setVisibleItemCount(VISIBLE_DISTRIBUTION_COUNT);
  versionCombo=new LabelledCombo(existVersionGroup,Messages.getString("String_Node_Str"),Messages.getString("String_Node_Str"),new String[0],2,true);
  versionCombo.setVisibleItemCount(VISIBLE_VERSION_COUNT);
  Composite checkParent=new Composite(existVersionGroup,SWT.NONE);
  layoutData=new GridData(GridData.FILL_HORIZONTAL);
  layoutData.horizontalSpan=3;
  checkParent.setLayoutData(layoutData);
  GridLayout layout2=new GridLayout(groupsAndDispaly.size(),false);
  checkParent.setLayout(layout2);
  layout2.marginWidth=0;
  existVersionCheckBoxList=new ArrayList<Button>();
  for (  ECustomVersionGroup group : groupsAndDispaly.keySet()) {
    final Button button=new Button(checkParent,SWT.CHECK);
    button.setData(group);
    button.setText(groupsAndDispaly.get(group));
    button.setSelection(true);
    existVersionCheckBoxList.add(button);
    existVersionSelectionMap.put(group,true);
    button.addSelectionListener(new SelectionAdapter(){
      @Override public void widgetSelected(      SelectionEvent e){
        existVersionSelectionMap.put((ECustomVersionGroup)button.getData(),button.getSelection());
      }
    }
);
  }
  importFromZipBtn=new Button(parent,SWT.RADIO);
  importFromZipBtn.setText(Messages.getString("String_Node_Str"));
  layoutData=new GridData(GridData.FILL);
  importFromZipBtn.setLayoutData(layoutData);
  Composite zipGroup=new Composite(parent,SWT.NONE);
  layoutData=new GridData(GridData.FILL_HORIZONTAL);
  zipGroup.setLayoutData(layoutData);
  layout=new GridLayout();
  layout.numColumns=3;
  layout.marginLeft=10;
  zipGroup.setLayout(layout);
  Label label=new Label(zipGroup,SWT.NONE);
  label.setText(Messages.getString("String_Node_Str"));
  zipLocationText=new Text(zipGroup,SWT.BORDER);
  zipLocationText.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  browseButton=new Button(zipGroup,SWT.PUSH);
  browseButton.setText(Messages.getString("String_Node_Str"));
  checkParent=new Composite(zipGroup,SWT.NONE);
  layoutData=new GridData(GridData.FILL_HORIZONTAL);
  layoutData.horizontalSpan=3;
  checkParent.setLayoutData(layoutData);
  layout2=new GridLayout(groupsAndDispaly.size(),false);
  checkParent.setLayout(layout2);
  layout2.marginWidth=0;
  fromZipCheckBoxList=new ArrayList<Button>();
  for (  ECustomVersionGroup group : groupsAndDispaly.keySet()) {
    final Button button=new Button(checkParent,SWT.CHECK);
    button.setData(group);
    button.setText(groupsAndDispaly.get(group));
    button.setSelection(true);
    fromZipCheckBoxList.add(button);
    fromZipSelectionMap.put(group,true);
    button.addSelectionListener(new SelectionAdapter(){
      @Override public void widgetSelected(      SelectionEvent e){
        fromZipSelectionMap.put((ECustomVersionGroup)button.getData(),button.getSelection());
      }
    }
);
  }
  importFromVersion.setSelection(true);
  enableZipGroupe(false);
}

Fixed version (ground truth):
private void createVersionFields(Composite parent){
  GridData layoutData=new GridData(GridData.FILL_HORIZONTAL);
  importFromVersion=new Button(parent,SWT.RADIO);
  importFromVersion.setText(Messages.getString("String_Node_Str"));
  importFromVersion.setLayoutData(layoutData);
  Composite existVersionGroup=new Composite(parent,SWT.NONE);
  GridLayout existVersionLayout=new GridLayout();
  existVersionLayout.numColumns=3;
  existVersionGroup.setLayout(existVersionLayout);
  existVersionGroup.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  distributionCombo=new LabelledCombo(existVersionGroup,Messages.getString("String_Node_Str"),Messages.getString("String_Node_Str"),new String[0],2,true);
  distributionCombo.setVisibleItemCount(VISIBLE_DISTRIBUTION_COUNT);
  versionCombo=new LabelledCombo(existVersionGroup,Messages.getString("String_Node_Str"),Messages.getString("String_Node_Str"),new String[0],2,true);
  versionCombo.setVisibleItemCount(VISIBLE_VERSION_COUNT);
  Composite checkParent=new Composite(existVersionGroup,SWT.NONE);
  layoutData=new GridData(GridData.FILL_HORIZONTAL);
  layoutData.horizontalSpan=3;
  checkParent.setLayoutData(layoutData);
  GridLayout layout2=new GridLayout(groupsAndDispaly.size(),false);
  checkParent.setLayout(layout2);
  layout2.marginWidth=0;
  existVersionCheckBoxList=new ArrayList<Button>();
  for (  ECustomVersionGroup group : groupsAndDispaly.keySet()) {
    final Button button=new Button(checkParent,SWT.CHECK);
    button.setData(group);
    button.setText(groupsAndDispaly.get(group));
    button.setSelection(true);
    existVersionCheckBoxList.add(button);
    existVersionSelectionMap.put(group,true);
    button.addSelectionListener(new SelectionAdapter(){
      @Override public void widgetSelected(      SelectionEvent e){
        existVersionSelectionMap.put((ECustomVersionGroup)button.getData(),button.getSelection());
        updateOkState();
      }
    }
);
  }
  importFromZipBtn=new Button(parent,SWT.RADIO);
  importFromZipBtn.setText(Messages.getString("String_Node_Str"));
  layoutData=new GridData(GridData.FILL);
  importFromZipBtn.setLayoutData(layoutData);
  Composite zipGroup=new Composite(parent,SWT.NONE);
  layoutData=new GridData(GridData.FILL_HORIZONTAL);
  zipGroup.setLayoutData(layoutData);
  GridLayout zipGroupLayout=new GridLayout();
  zipGroupLayout.numColumns=3;
  zipGroup.setLayout(zipGroupLayout);
  Label label=new Label(zipGroup,SWT.NONE);
  label.setText(Messages.getString("String_Node_Str"));
  zipLocationText=new Text(zipGroup,SWT.BORDER);
  zipLocationText.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  browseButton=new Button(zipGroup,SWT.PUSH);
  browseButton.setText(Messages.getString("String_Node_Str"));
  checkParent=new Composite(zipGroup,SWT.NONE);
  layoutData=new GridData(GridData.FILL_HORIZONTAL);
  layoutData.horizontalSpan=3;
  checkParent.setLayoutData(layoutData);
  layout2=new GridLayout(groupsAndDispaly.size(),false);
  checkParent.setLayout(layout2);
  layout2.marginWidth=0;
  fromZipCheckBoxList=new ArrayList<Button>();
  for (  ECustomVersionGroup group : groupsAndDispaly.keySet()) {
    final Button button=new Button(checkParent,SWT.CHECK);
    button.setData(group);
    button.setText(groupsAndDispaly.get(group));
    button.setSelection(true);
    fromZipCheckBoxList.add(button);
    fromZipSelectionMap.put(group,true);
    button.addSelectionListener(new SelectionAdapter(){
      @Override public void widgetSelected(      SelectionEvent e){
        fromZipSelectionMap.put((ECustomVersionGroup)button.getData(),button.getSelection());
        updateOkState();
      }
    }
);
  }
  importFromVersion.setSelection(true);
  enableZipGroupe(false);
}