Program: 148830
Project: 148830
Buggy source:
public ConceptComposite(Composite parent,boolean encloseTextField,List<XSDComplexTypeDefinition> types,boolean newComplex){
  GridLayout layout=(GridLayout)parent.getLayout();
  layout.numColumns=2;
  final List<String> typeNames=new ArrayList<String>();
  for (  XSDComplexTypeDefinition type : types) {
    typeNames.add(type.getName() + (type.getTargetNamespace() != null ? "String_Node_Str" + type.getTargetNamespace() : "String_Node_Str"));
  }
  typeNameLabel=new Label(parent,SWT.NONE);
  typeNameLabel.setLayoutData(new GridData(SWT.FILL,SWT.FILL,true,true,2,1));
  typeNameLabel.setText(newComplex == false ? "String_Node_Str" : "String_Node_Str");
  typeNameText=new CCombo(parent,SWT.SINGLE | SWT.BORDER);
  typeNameText.setLayoutData(new GridData(SWT.FILL,SWT.FILL,false,true,2,1));
  typeNameText.setItems(typeNames.toArray(new String[typeNames.size()]));
  typeNameText.addSelectionListener(new SelectionListener(){
    public void widgetDefaultSelected(    org.eclipse.swt.events.SelectionEvent e){
    }
    public void widgetSelected(    org.eclipse.swt.events.SelectionEvent e){
    }
  }
);
  Group radioGroup=new Group(parent,SWT.SHADOW_NONE);
  radioGroup.setText(encloseTextField ? "String_Node_Str" : "String_Node_Str");
  radioGroup.setLayoutData(new GridData(SWT.FILL,SWT.FILL,false,true,2,1));
  radioGroup.setLayout(new GridLayout(1,false));
  if (encloseTextField) {
    typeNameLabel.setParent(radioGroup);
    typeNameText.setParent(radioGroup);
  }
  allButton=new Button(radioGroup,SWT.RADIO);
  allButton.setText("String_Node_Str");
  allButton.setLayoutData(new GridData(SWT.FILL,SWT.FILL,false,true,1,1));
  sequenceButton=new Button(radioGroup,SWT.RADIO);
  sequenceButton.setText("String_Node_Str");
  sequenceButton.setLayoutData(new GridData(SWT.FILL,SWT.FILL,false,true,1,1));
  choiceButton=new Button(radioGroup,SWT.RADIO);
  choiceButton.setText("String_Node_Str");
  choiceButton.setLayoutData(new GridData(SWT.FILL,SWT.FILL,false,true,1,1));
  allButton.setSelection(true);
  messageLabel=new Label(parent,SWT.NONE);
  messageLabel.setLayoutData(new GridData(SWT.FILL,SWT.FILL,true,true,2,1));
  container=parent;
}

Fixed version (ground truth):
public ConceptComposite(Composite parent,boolean encloseTextField,final List<XSDComplexTypeDefinition> types,boolean newComplex){
  GridLayout layout=(GridLayout)parent.getLayout();
  layout.numColumns=2;
  final List<String> typeNames=new ArrayList<String>();
  for (  XSDComplexTypeDefinition type : types) {
    typeNames.add(type.getName() + (type.getTargetNamespace() != null ? "String_Node_Str" + type.getTargetNamespace() : "String_Node_Str"));
  }
  typeNameLabel=new Label(parent,SWT.NONE);
  typeNameLabel.setLayoutData(new GridData(SWT.FILL,SWT.FILL,true,true,2,1));
  typeNameLabel.setText(newComplex == false ? "String_Node_Str" : "String_Node_Str");
  typeNameText=new CCombo(parent,SWT.SINGLE | SWT.BORDER);
  typeNameText.setLayoutData(new GridData(SWT.FILL,SWT.FILL,false,true,2,1));
  typeNameText.setItems(typeNames.toArray(new String[typeNames.size()]));
  typeNameText.addSelectionListener(new SelectionListener(){
    public void widgetDefaultSelected(    org.eclipse.swt.events.SelectionEvent e){
    }
    public void widgetSelected(    org.eclipse.swt.events.SelectionEvent e){
      for (int i=0; i < types.size(); i++) {
        XSDComplexTypeDefinition type=types.get(i);
        XSDParticleImpl partCnt=null;
        if (typeNames.get(typeNames.indexOf(typeNameText.getText())).equalsIgnoreCase(type.getName()))         partCnt=(XSDParticleImpl)type.getContent();
        if (partCnt != null) {
          XSDModelGroupImpl mdlGrp=(XSDModelGroupImpl)partCnt.getTerm();
          XSDCompositor typeComposite=mdlGrp.getCompositor();
          if (typeComposite.equals(XSDCompositor.SEQUENCE_LITERAL))           setSequence();
 else           if (typeComposite.equals(XSDCompositor.ALL_LITERAL))           setAll();
 else           if (typeComposite.equals(XSDCompositor.CHOICE_LITERAL))           setChoice();
        }
      }
    }
  }
);
  Group radioGroup=new Group(parent,SWT.SHADOW_NONE);
  radioGroup.setText(encloseTextField ? "String_Node_Str" : "String_Node_Str");
  radioGroup.setLayoutData(new GridData(SWT.FILL,SWT.FILL,false,true,2,1));
  radioGroup.setLayout(new GridLayout(1,false));
  if (encloseTextField) {
    typeNameLabel.setParent(radioGroup);
    typeNameText.setParent(radioGroup);
  }
  allButton=new Button(radioGroup,SWT.RADIO);
  allButton.setText("String_Node_Str");
  allButton.setLayoutData(new GridData(SWT.FILL,SWT.FILL,false,true,1,1));
  sequenceButton=new Button(radioGroup,SWT.RADIO);
  sequenceButton.setText("String_Node_Str");
  sequenceButton.setLayoutData(new GridData(SWT.FILL,SWT.FILL,false,true,1,1));
  choiceButton=new Button(radioGroup,SWT.RADIO);
  choiceButton.setText("String_Node_Str");
  choiceButton.setLayoutData(new GridData(SWT.FILL,SWT.FILL,false,true,1,1));
  allButton.setSelection(true);
  messageLabel=new Label(parent,SWT.NONE);
  messageLabel.setLayoutData(new GridData(SWT.FILL,SWT.FILL,true,true,2,1));
  container=parent;
}