Program: 127685
Project: 127685
Buggy source:
/** 
 * DOC ocarbone Comment method "initMetadataForm".
 */
private void initMetadataForm(){
  metadataEditor.setMetadataTable(metadataTable);
  IPreferenceStore store=RepositoryManager.getPreferenceStore();
  Boolean flag=store.getBoolean(IRepositoryPrefConstants.ALLOW_SPECIFIC_CHARACTERS_FOR_SCHEMA_COLUMNS);
  if (!flag.booleanValue()) {
    List<MetadataColumn> list=metadataEditor.getMetadataColumnList();
    for (    MetadataColumn column : list) {
      if (!isCnorEn(column.getLabel())) {
        String label=metadataEditor.getNextGeneratedColumnName("String_Node_Str");
        column.setLabel(label);
      }
    }
  }
  removeDoubleQuotes(metadataEditor.getMetadataColumnList());
  tableEditorView.setMetadataEditor(metadataEditor);
  tableEditorView.getTableViewerCreator().layout();
  metadataEditor.addAfterOperationListListener(new IListenableListListener(){
    @Override public void handleEvent(    ListenableListEvent event){
      changeTableNavigatorStatus(checkFieldsValue());
    }
  }
);
  String label=MetadataToolHelper.validateValue(metadataTable.getLabel());
  nameText.setText(label);
  commentText.setText(metadataTable.getComment());
  if (metadataTable.getTableType() != null) {
    typeText.setText(Messages.getString("String_Node_Str",metadataTable.getTableType()));
  }
 else {
    typeText.setText(Messages.getString("String_Node_Str"));
  }
  String sourceName=metadataTable.getName();
  tableCombo.setText(sourceName);
  updateRetreiveSchemaButton();
  nameText.forceFocus();
}

Fixed version (ground truth):
/** 
 * DOC ocarbone Comment method "initMetadataForm".
 */
private void initMetadataForm(){
  metadataEditor.setMetadataTable(metadataTable);
  IPreferenceStore store=RepositoryManager.getPreferenceStore();
  Boolean flag=store.getBoolean(IRepositoryPrefConstants.ALLOW_SPECIFIC_CHARACTERS_FOR_SCHEMA_COLUMNS);
  if (!flag.booleanValue()) {
    List<MetadataColumn> list=metadataEditor.getMetadataColumnList();
    for (    MetadataColumn column : list) {
      if (!isCnorEn(column.getLabel())) {
        String label=metadataEditor.getNextGeneratedColumnName("String_Node_Str");
        column.setLabel(label);
      }
    }
  }
  removeDoubleQuotes(metadataEditor.getMetadataColumnList());
  tableEditorView.setMetadataEditor(metadataEditor);
  tableEditorView.getTableViewerCreator().layout();
  metadataEditor.addAfterOperationListListener(new IListenableListListener(){
    @Override public void handleEvent(    ListenableListEvent event){
      changeTableNavigatorStatus(checkFieldsValue());
    }
  }
);
  String label=MetadataToolHelper.validateValue(metadataTable.getLabel());
  if (getConnection().getDbVersionString().equals(EDatabaseVersion4Drivers.MYSQL_5.name()) && metadataTable.getName().contains("String_Node_Str")) {
    label=metadataTable.getName();
  }
  nameText.setText(label);
  commentText.setText(metadataTable.getComment());
  if (metadataTable.getTableType() != null) {
    typeText.setText(Messages.getString("String_Node_Str",metadataTable.getTableType()));
  }
 else {
    typeText.setText(Messages.getString("String_Node_Str"));
  }
  String sourceName=metadataTable.getName();
  tableCombo.setText(sourceName);
  updateRetreiveSchemaButton();
  nameText.forceFocus();
}