Program: 62248
Project: 62248
Buggy source:
@Override protected void initData(Composite dataComposite){
  label=new Label(dataComposite,SWT.NONE);
  label.setText(RedisClient.i18nFile.getText(I18nFile.VALUE));
  final Text text_value=new Text(dataComposite,SWT.BORDER);
  text_value.setLayoutData(new GridData(SWT.FILL,SWT.CENTER,true,false,3,1));
  value=service.readString(id,db,key);
  text_value.setText(value);
  text_value.selectAll();
  text_value.setFocus();
  new Label(dataComposite,SWT.NONE);
  new Label(dataComposite,SWT.NONE);
  new Label(dataComposite,SWT.NONE);
  Composite composite=new Composite(dataComposite,SWT.NONE);
  composite.setLayoutData(new GridData(SWT.RIGHT,SWT.CENTER,true,false,1,1));
  composite.setLayout(new GridLayout(2,false));
  btnOk=new Button(composite,SWT.NONE);
  btnOk.setLayoutData(new GridData(SWT.RIGHT,SWT.CENTER,false,false,1,1));
  btnOk.setText(RedisClient.i18nFile.getText(I18nFile.APPLY));
  setApply(false);
  btnCancel=new Button(composite,SWT.NONE);
  btnCancel.setLayoutData(new GridData(SWT.RIGHT,SWT.CENTER,false,false,1,1));
  btnCancel.setEnabled(false);
  btnCancel.setText(RedisClient.i18nFile.getText(I18nFile.CANCEL));
  text_value.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      String newValue=text_value.getText() == null ? "String_Node_Str" : text_value.getText();
      if (newValue.equals(value)) {
        setApply(false);
        btnCancel.setEnabled(false);
      }
 else {
        setApply(true);
        btnCancel.setEnabled(true);
      }
    }
  }
);
  btnOk.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      String key=getKey();
      value=text_value.getText();
      service.updateString(id,db,key,value);
      setApply(false);
      btnCancel.setEnabled(false);
    }
  }
);
  btnCancel.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      text_value.setText(value);
      setApply(false);
      btnCancel.setEnabled(false);
    }
  }
);
}

Fixed version (ground truth):
@Override protected void initData(Composite dataComposite){
  label=new Label(dataComposite,SWT.NONE);
  label.setText(RedisClient.i18nFile.getText(I18nFile.VALUE));
  final Text text_value=new Text(dataComposite,SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL| SWT.MULTI);
  text_value.setLayoutData(new GridData(SWT.FILL,SWT.FILL,true,true,3,1));
  value=service.readString(id,db,key);
  text_value.setText(value);
  text_value.selectAll();
  text_value.setFocus();
  new Label(dataComposite,SWT.NONE);
  new Label(dataComposite,SWT.NONE);
  new Label(dataComposite,SWT.NONE);
  Composite composite=new Composite(dataComposite,SWT.NONE);
  composite.setLayoutData(new GridData(SWT.RIGHT,SWT.CENTER,true,false,1,1));
  composite.setLayout(new GridLayout(2,false));
  btnOk=new Button(composite,SWT.NONE);
  btnOk.setLayoutData(new GridData(SWT.RIGHT,SWT.CENTER,false,false,1,1));
  btnOk.setText(RedisClient.i18nFile.getText(I18nFile.APPLY));
  setApply(false);
  btnCancel=new Button(composite,SWT.NONE);
  btnCancel.setLayoutData(new GridData(SWT.RIGHT,SWT.CENTER,false,false,1,1));
  btnCancel.setEnabled(false);
  btnCancel.setText(RedisClient.i18nFile.getText(I18nFile.CANCEL));
  text_value.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      String newValue=text_value.getText() == null ? "String_Node_Str" : text_value.getText();
      if (newValue.equals(value)) {
        setApply(false);
        btnCancel.setEnabled(false);
      }
 else {
        setApply(true);
        btnCancel.setEnabled(true);
      }
    }
  }
);
  btnOk.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      String key=getKey();
      value=text_value.getText();
      service.updateString(id,db,key,value);
      setApply(false);
      btnCancel.setEnabled(false);
    }
  }
);
  btnCancel.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      text_value.setText(value);
      setApply(false);
      btnCancel.setEnabled(false);
    }
  }
);
}