Program: 122965
Project: 122965
Buggy source:
/** 
 * @see org.eclipse.jface.dialogs.IDialogPage#createControl(org.eclipse.swt.widgets.Composite)
 */
public void createControl(Composite parent){
  Composite container=new Composite(parent,SWT.NONE);
  GridLayout layout=new GridLayout(2,false);
  container.setLayout(layout);
  Label nameLab=new Label(container,SWT.NONE);
  nameLab.setText(Messages.getString("String_Node_Str"));
  nameText=new Text(container,SWT.BORDER);
  nameText.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  Label technicalNameLab=new Label(container,SWT.NONE);
  technicalNameLab.setText(Messages.getString("String_Node_Str"));
  technicalNameText=new Text(container,SWT.BORDER);
  technicalNameText.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  technicalNameText.setEnabled(false);
  Label descriptionLab=new Label(container,SWT.NONE);
  descriptionLab.setText(Messages.getString("String_Node_Str"));
  descriptionLab.setLayoutData(new GridData(GridData.VERTICAL_ALIGN_BEGINNING));
  descriptionText=new Text(container,SWT.BORDER | SWT.MULTI | SWT.V_SCROLL| SWT.H_SCROLL);
  GridData data=new GridData(GridData.FILL_HORIZONTAL);
  data.heightHint=60;
  descriptionText.setLayoutData(data);
  Label languageLab=new Label(container,SWT.NONE);
  languageLab.setText(Messages.getString("String_Node_Str"));
  languageLab.setLayoutData(new GridData(GridData.VERTICAL_ALIGN_BEGINNING));
  Composite radioContainer=new Composite(container,SWT.NONE);
  radioContainer.setLayoutData(new GridData(GridData.FILL_HORIZONTAL + GridData.VERTICAL_ALIGN_BEGINNING));
  GridLayout gridLayout=new GridLayout();
  gridLayout.marginHeight=0;
  radioContainer.setLayout(gridLayout);
  languageJavaRadio=new Button(radioContainer,SWT.RADIO);
  languageJavaRadio.setText(ECodeLanguage.JAVA.getName());
  languageJavaRadio.setSelection(true);
  languagePerlRadio=new Button(radioContainer,SWT.RADIO);
  languagePerlRadio.setText(ECodeLanguage.PERL.getName() + "String_Node_Str");
  IBrandingService brandingService=(IBrandingService)GlobalServiceRegister.getDefault().getService(IBrandingService.class);
  String[] availableLanguages=brandingService.getBrandingConfiguration().getAvailableLanguages();
  if (availableLanguages.length != 2) {
    if (ArrayUtils.contains(availableLanguages,ECodeLanguage.JAVA.getName())) {
      languagePerlRadio.setVisible(false);
      languageJavaRadio.setVisible(false);
      languageJavaRadio.setSelection(true);
      languageLab.setVisible(false);
    }
    if (ArrayUtils.contains(availableLanguages,ECodeLanguage.PERL.getName())) {
      languagePerlRadio.setSelection(true);
      languageJavaRadio.setVisible(false);
      languageJavaRadio.setVisible(false);
      languageLab.setVisible(false);
    }
  }
  setControl(container);
  addListeners();
  init();
}

Fixed version (ground truth):
/** 
 * @see org.eclipse.jface.dialogs.IDialogPage#createControl(org.eclipse.swt.widgets.Composite)
 */
public void createControl(Composite parent){
  Composite container=new Composite(parent,SWT.NONE);
  GridLayout layout=new GridLayout(2,false);
  container.setLayout(layout);
  Label nameLab=new Label(container,SWT.NONE);
  nameLab.setText(Messages.getString("String_Node_Str"));
  nameText=new Text(container,SWT.BORDER);
  nameText.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  Label technicalNameLab=new Label(container,SWT.NONE);
  technicalNameLab.setText(Messages.getString("String_Node_Str"));
  technicalNameText=new Text(container,SWT.BORDER);
  technicalNameText.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  technicalNameText.setEnabled(false);
  Label descriptionLab=new Label(container,SWT.NONE);
  descriptionLab.setText(Messages.getString("String_Node_Str"));
  descriptionLab.setLayoutData(new GridData(GridData.VERTICAL_ALIGN_BEGINNING));
  descriptionText=new Text(container,SWT.BORDER | SWT.MULTI | SWT.V_SCROLL| SWT.WRAP);
  GridData data=new GridData(GridData.FILL_HORIZONTAL);
  data.heightHint=60;
  descriptionText.setLayoutData(data);
  Label languageLab=new Label(container,SWT.NONE);
  languageLab.setText(Messages.getString("String_Node_Str"));
  languageLab.setLayoutData(new GridData(GridData.VERTICAL_ALIGN_BEGINNING));
  Composite radioContainer=new Composite(container,SWT.NONE);
  radioContainer.setLayoutData(new GridData(GridData.FILL_HORIZONTAL + GridData.VERTICAL_ALIGN_BEGINNING));
  GridLayout gridLayout=new GridLayout();
  gridLayout.marginHeight=0;
  radioContainer.setLayout(gridLayout);
  languageJavaRadio=new Button(radioContainer,SWT.RADIO);
  languageJavaRadio.setText(ECodeLanguage.JAVA.getName());
  languageJavaRadio.setSelection(true);
  languagePerlRadio=new Button(radioContainer,SWT.RADIO);
  languagePerlRadio.setText(ECodeLanguage.PERL.getName() + "String_Node_Str");
  IBrandingService brandingService=(IBrandingService)GlobalServiceRegister.getDefault().getService(IBrandingService.class);
  String[] availableLanguages=brandingService.getBrandingConfiguration().getAvailableLanguages();
  if (availableLanguages.length != 2) {
    if (ArrayUtils.contains(availableLanguages,ECodeLanguage.JAVA.getName())) {
      languagePerlRadio.setVisible(false);
      languageJavaRadio.setVisible(false);
      languageJavaRadio.setSelection(true);
      languageLab.setVisible(false);
    }
    if (ArrayUtils.contains(availableLanguages,ECodeLanguage.PERL.getName())) {
      languagePerlRadio.setSelection(true);
      languageJavaRadio.setVisible(false);
      languageJavaRadio.setVisible(false);
      languageLab.setVisible(false);
    }
  }
  setControl(container);
  addListeners();
  init();
}