Program: 139609
Project: 139609
Buggy source:
@Override protected Control createContents(Composite parent){
  mainComposite=new Composite(parent,SWT.NONE);
  mainComposite.setLayout(new GridLayout());
  mainComposite.setLayoutData(new GridData(GridData.FILL_BOTH));
  header=new Label(mainComposite,SWT.WRAP);
  header.setText(DefaultMessagesImpl.getString("String_Node_Str"));
  GridData gd=new GridData(GridData.HORIZONTAL_ALIGN_FILL);
  header.setLayoutData(gd);
  execCombo=new Combo(mainComposite,SWT.READ_ONLY);
  for (  LocalToLanguageEnum oneEnum : LocalToLanguageEnum.values()) {
    execCombo.add(oneEnum.getLocale());
    String language=getPreferenceStore().getString(header.getText());
    execCombo.setText(language == null ? LocalToLanguageEnum.ENGLISH.getLocale() : language);
  }
  GridData d=new GridData(GridData.HORIZONTAL_ALIGN_FILL);
  execCombo.setLayoutData(d);
  Label label=new Label(mainComposite,SWT.WRAP);
  label.setText(DefaultMessagesImpl.getString("String_Node_Str"));
  GridData g=new GridData(GridData.HORIZONTAL_ALIGN_FILL);
  label.setLayoutData(g);
  Button allUpdate=new Button(mainComposite,SWT.FLAT);
  allUpdate.setText(DefaultMessagesImpl.getString("String_Node_Str"));
  allUpdate.setLayoutData(new GridData());
  Button validatedUpdate=new Button(mainComposite,SWT.NONE);
  validatedUpdate.setText(DefaultMessagesImpl.getString("String_Node_Str"));
  validatedUpdate.setLayoutData(new GridData());
  allUpdate.addSelectionListener(new SelectionListener(){
    public void widgetSelected(    SelectionEvent e){
      String language=LocalToLanguageEnum.findEnglishLocale(execCombo.getText());
      runProgressMonitorDialog(false,language);
    }
    public void widgetDefaultSelected(    SelectionEvent e){
    }
  }
);
  validatedUpdate.addSelectionListener(new SelectionListener(){
    public void widgetSelected(    SelectionEvent e){
      String language=LocalToLanguageEnum.findEnglishLocale(execCombo.getText());
      runProgressMonitorDialog(true,language);
    }
    public void widgetDefaultSelected(    SelectionEvent e){
    }
  }
);
  return mainComposite;
}

Fixed version (ground truth):
@Override protected Control createContents(Composite parent){
  mainComposite=new Composite(parent,SWT.NONE);
  mainComposite.setLayout(new GridLayout());
  mainComposite.setLayoutData(new GridData(GridData.FILL_BOTH));
  header=new Label(mainComposite,SWT.WRAP);
  header.setText(DefaultMessagesImpl.getString("String_Node_Str"));
  GridData gd=new GridData(GridData.HORIZONTAL_ALIGN_FILL);
  header.setLayoutData(gd);
  execCombo=new Combo(mainComposite,SWT.READ_ONLY);
  for (  LocalToLanguageEnum oneEnum : LocalToLanguageEnum.values()) {
    execCombo.add(oneEnum.getLocale());
  }
  String language=getPreferenceStore().getString(PluginConstant.LANGUAGE_SELECTOR);
  LocalToLanguageEnum languageType=LocalToLanguageEnum.findLocalByShort(language);
  execCombo.setText(language == null ? LocalToLanguageEnum.ENGLISH.getLocale() : languageType.getLocale());
  GridData d=new GridData(GridData.HORIZONTAL_ALIGN_FILL);
  execCombo.setLayoutData(d);
  Label label=new Label(mainComposite,SWT.WRAP);
  label.setText(DefaultMessagesImpl.getString("String_Node_Str"));
  GridData g=new GridData(GridData.HORIZONTAL_ALIGN_FILL);
  label.setLayoutData(g);
  Button allUpdate=new Button(mainComposite,SWT.FLAT);
  allUpdate.setText(DefaultMessagesImpl.getString("String_Node_Str"));
  allUpdate.setLayoutData(new GridData());
  Button validatedUpdate=new Button(mainComposite,SWT.NONE);
  validatedUpdate.setText(DefaultMessagesImpl.getString("String_Node_Str"));
  validatedUpdate.setLayoutData(new GridData());
  allUpdate.addSelectionListener(new SelectionListener(){
    public void widgetSelected(    SelectionEvent e){
      String language=LocalToLanguageEnum.findEnglishLocale(execCombo.getText());
      runProgressMonitorDialog(false,language);
    }
    public void widgetDefaultSelected(    SelectionEvent e){
    }
  }
);
  validatedUpdate.addSelectionListener(new SelectionListener(){
    public void widgetSelected(    SelectionEvent e){
      String language=LocalToLanguageEnum.findEnglishLocale(execCombo.getText());
      runProgressMonitorDialog(true,language);
    }
    public void widgetDefaultSelected(    SelectionEvent e){
    }
  }
);
  return mainComposite;
}