Program: 117898
Project: 117898
Buggy source:
private void addSVNInforAutoCheckFiled(){
  if (PluginChecker.isSVNProviderPluginLoaded()) {
    final CheckBoxFieldEditor autoCheckField=new CheckBoxFieldEditor(ITalendCorePrefConstants.SVN_UPDATE_INFO_AUTO_CHECK,Messages.getString("String_Node_Str"),getFieldEditorParent());
    addField(autoCheckField);
    final IntegerFieldEditor autoCheckTime=new IntegerFieldEditor(ITalendCorePrefConstants.SVN_UPDATE_INFO_AUTO_CHECK_TIME_INTERVAL,Messages.getString("String_Node_Str"),getFieldEditorParent());
    autoCheckTime.setValidRange(1,30);
    autoCheckTime.setEnabled(getPreferenceStore().getBoolean(ITalendCorePrefConstants.SVN_UPDATE_INFO_AUTO_CHECK),getFieldEditorParent());
    addField(autoCheckTime);
    autoCheckField.getButton().addSelectionListener(new SelectionAdapter(){
      @Override public void widgetSelected(      SelectionEvent e){
        if (autoCheckField.getButton().getSelection()) {
          autoCheckTime.setEnabled(true,getFieldEditorParent());
        }
 else {
          autoCheckTime.setEnabled(false,getFieldEditorParent());
        }
      }
    }
);
    final CheckBoxFieldEditor autoRefreshLocksField=new CheckBoxFieldEditor(ITalendCorePrefConstants.AUTO_REFRESH_LOCKS,Messages.getString("String_Node_Str"),getFieldEditorParent());
    addField(autoRefreshLocksField);
    final IntegerFieldEditor tacConnectionTimeout=new IntegerFieldEditor(ITalendCorePrefConstants.PERFORMANCE_TAC_CONNECTION_TIMEOUT,Messages.getString("String_Node_Str"),getFieldEditorParent());
    tacConnectionTimeout.setValidRange(0,3600);
    addField(tacConnectionTimeout);
    final IntegerFieldEditor tacReadTimeout=new IntegerFieldEditor(ITalendCorePrefConstants.PERFORMANCE_TAC_READ_TIMEOUT,Messages.getString("String_Node_Str"),getFieldEditorParent());
    tacReadTimeout.setValidRange(0,3600);
    addField(tacReadTimeout);
  }
}

Fixed version (ground truth):
private void addSVNInforAutoCheckFiled(){
  if (PluginChecker.isSVNProviderPluginLoaded()) {
    final CheckBoxFieldEditor autoCheckField=new CheckBoxFieldEditor(ITalendCorePrefConstants.SVN_UPDATE_INFO_AUTO_CHECK,Messages.getString("String_Node_Str"),getFieldEditorParent());
    addField(autoCheckField);
    final IntegerFieldEditor autoCheckTime=new IntegerFieldEditor(ITalendCorePrefConstants.SVN_UPDATE_INFO_AUTO_CHECK_TIME_INTERVAL,Messages.getString("String_Node_Str"),getFieldEditorParent());
    autoCheckTime.setValidRange(1,30);
    autoCheckTime.setEnabled(getPreferenceStore().getBoolean(ITalendCorePrefConstants.SVN_UPDATE_INFO_AUTO_CHECK),getFieldEditorParent());
    addField(autoCheckTime);
    autoCheckField.getButton().addSelectionListener(new SelectionAdapter(){
      @Override public void widgetSelected(      SelectionEvent e){
        if (autoCheckField.getButton().getSelection()) {
          autoCheckTime.setEnabled(true,getFieldEditorParent());
        }
 else {
          autoCheckTime.setEnabled(false,getFieldEditorParent());
        }
      }
    }
);
    final CheckBoxFieldEditor autoRefreshLocksField=new CheckBoxFieldEditor(ITalendCorePrefConstants.AUTO_REFRESH_LOCKS,Messages.getString("String_Node_Str"),getFieldEditorParent());
    addField(autoRefreshLocksField);
    final IntegerFieldEditor tacConnectionTimeout=new IntegerFieldEditor(ITalendCorePrefConstants.PERFORMANCE_TAC_CONNECTION_TIMEOUT,Messages.getString("String_Node_Str"),getFieldEditorParent());
    tacConnectionTimeout.setValidRange(NetworkConfiguration.CONNECTION_TIMEOUT_MIN,NetworkConfiguration.CONNECTION_TIMEOUT_MAX);
    addField(tacConnectionTimeout);
    final IntegerFieldEditor tacReadTimeout=new IntegerFieldEditor(ITalendCorePrefConstants.PERFORMANCE_TAC_READ_TIMEOUT,Messages.getString("String_Node_Str"),getFieldEditorParent());
    tacReadTimeout.setValidRange(NetworkConfiguration.READ_TIMEOUT_MIN,NetworkConfiguration.READ_TIMEOUT_MAX);
    addField(tacReadTimeout);
  }
}