Program: 126691
Project: 126691
Buggy source:
/** 
 * add Controls to group Escape Char.
 */
private void addFieldsListenersGroupsEscapeChar(){
  ArrayList<Button> radio2Control=new ArrayList<Button>();
  radio2Control.add(csvRadio);
  radio2Control.add(delimitedRadio);
  Iterator<Button> iButton;
  Button button;
  for (iButton=radio2Control.iterator(); iButton.hasNext(); ) {
    button=iButton.next();
    button.addSelectionListener(new SelectionListener(){
      String escapeCharComboOldValue="String_Node_Str";
      String textEnclosureComboOldValue="String_Node_Str";
      public void widgetDefaultSelected(      SelectionEvent e){
      }
      public void widgetSelected(      SelectionEvent e){
        Boolean b=!(csvRadio.getSelection());
        getConnection().setEscapeType(b ? Escape.DELIMITED : Escape.CSV);
        textEnclosureCombo.setEnabled(!b);
        escapeCharCombo.setEnabled(!b);
        splitwayRecordForJavaFID.setEnabled(b);
        if (b) {
          escapeCharComboOldValue=escapeCharCombo.getText();
          textEnclosureComboOldValue=textEnclosureCombo.getText();
          textEnclosureCombo.select(0);
          escapeCharCombo.select(0);
          textEnclosureFlag.setText("String_Node_Str");
          escapeCharFlag.setText("String_Node_Str");
          checkFieldsValue();
        }
 else {
          if ((!"String_Node_Str".equals(escapeCharComboOldValue)) && (!escapeCharComboOldValue.equals(EMPTY_VALUE))) {
            escapeCharCombo.setText(escapeCharComboOldValue);
            setCharFlag(escapeCharFlag,escapeCharCombo.getText());
          }
          if ((!"String_Node_Str".equals(textEnclosureComboOldValue)) && (!textEnclosureComboOldValue.equals(EMPTY_VALUE))) {
            textEnclosureCombo.setText(textEnclosureComboOldValue);
            setCharFlag(textEnclosureFlag,textEnclosureCombo.getText());
          }
        }
      }
    }
);
  }
  emptyRowsToSkipCheckbox.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      getConnection().setRemoveEmptyRow(emptyRowsToSkipCheckbox.getSelection());
      checkFieldsValue();
    }
  }
);
  escapeCharCombo.addModifyListener(new ModifyListener(){
    public void modifyText(    final ModifyEvent e){
      if (escapeCharCombo.getText() != null && !("String_Node_Str").equals(escapeCharCombo.getText()) && !(EMPTY_VALUE).equals(escapeCharCombo.getText())) {
        getConnection().setEscapeChar(escapeCharCombo.getText());
      }
 else {
        getConnection().setEscapeChar(null);
      }
      checkFieldsValue();
    }
  }
);
  textEnclosureCombo.addModifyListener(new ModifyListener(){
    public void modifyText(    final ModifyEvent e){
      if (textEnclosureCombo.getText() != null && !("String_Node_Str").equals(textEnclosureCombo.getText()) && !(EMPTY_VALUE).equals(textEnclosureCombo.getText())) {
        getConnection().setTextEnclosure(textEnclosureCombo.getText());
      }
 else {
        getConnection().setTextEnclosure(null);
      }
      checkFieldsValue();
    }
  }
);
}

Fixed version (ground truth):
/** 
 * add Controls to group Escape Char.
 */
private void addFieldsListenersGroupsEscapeChar(){
  ArrayList<Button> radio2Control=new ArrayList<Button>();
  radio2Control.add(csvRadio);
  radio2Control.add(delimitedRadio);
  Iterator<Button> iButton;
  Button button;
  for (iButton=radio2Control.iterator(); iButton.hasNext(); ) {
    button=iButton.next();
    button.addSelectionListener(new SelectionListener(){
      String escapeCharComboOldValue="String_Node_Str";
      String textEnclosureComboOldValue="String_Node_Str";
      @Override public void widgetDefaultSelected(      SelectionEvent e){
      }
      @Override public void widgetSelected(      SelectionEvent e){
        Boolean b=!(csvRadio.getSelection());
        getConnection().setEscapeType(b ? Escape.DELIMITED : Escape.CSV);
        textEnclosureCombo.setEnabled(!b);
        escapeCharCombo.setEnabled(!b);
        splitwayRecordForJavaFID.setEnabled(b);
        if (b) {
          escapeCharComboOldValue=escapeCharCombo.getText();
          textEnclosureComboOldValue=textEnclosureCombo.getText();
          textEnclosureCombo.select(0);
          escapeCharCombo.select(0);
          textEnclosureFlag.setText("String_Node_Str");
          escapeCharFlag.setText("String_Node_Str");
          checkFieldsValue();
        }
 else {
          if ((!"String_Node_Str".equals(escapeCharComboOldValue)) && (!escapeCharComboOldValue.equals(EMPTY_VALUE))) {
            escapeCharCombo.setText(escapeCharComboOldValue);
            setCharFlag(escapeCharFlag,escapeCharCombo.getText());
          }
          if ((!"String_Node_Str".equals(textEnclosureComboOldValue)) && (!textEnclosureComboOldValue.equals(EMPTY_VALUE))) {
            textEnclosureCombo.setText(textEnclosureComboOldValue);
            setCharFlag(textEnclosureFlag,textEnclosureCombo.getText());
          }
        }
      }
    }
);
  }
  emptyRowsToSkipCheckbox.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      getConnection().setRemoveEmptyRow(emptyRowsToSkipCheckbox.getSelection());
      checkFieldsValue();
    }
  }
);
  escapeCharCombo.addModifyListener(new ModifyListener(){
    @Override public void modifyText(    final ModifyEvent e){
      if (escapeCharCombo.getText() != null && !("String_Node_Str").equals(escapeCharCombo.getText()) && !(EMPTY_VALUE).equals(escapeCharCombo.getText())) {
        getConnection().setEscapeChar(escapeCharCombo.getText());
      }
 else {
        getConnection().setEscapeChar(null);
      }
      checkFieldsValue();
    }
  }
);
  textEnclosureCombo.addModifyListener(new ModifyListener(){
    @Override public void modifyText(    final ModifyEvent e){
      if (textEnclosureCombo.getText() != null && !("String_Node_Str").equals(textEnclosureCombo.getText()) && !(EMPTY_VALUE).equals(textEnclosureCombo.getText())) {
        getConnection().setTextEnclosure(textEnclosureCombo.getText());
      }
 else {
        getConnection().setTextEnclosure(null);
      }
      checkFieldsValue();
    }
  }
);
}