Program: 138015
Project: 138015
Buggy source:
/** 
 * @param form
 * @param toolkit
 * @param topComp
 */
void createInformationSection(final ScrolledForm form,Composite topComp){
  infomatioinSection=createSection(form,topComp,DefaultMessagesImpl.getString("String_Node_Str"),DefaultMessagesImpl.getString("String_Node_Str"));
  Composite sectionClient=toolkit.createComposite(infomatioinSection);
  sectionClient.setLayout(new GridLayout(2,false));
  Label loginLabel=new Label(sectionClient,SWT.NONE);
  loginLabel.setText(DefaultMessagesImpl.getString("String_Node_Str"));
  loginText=new Text(sectionClient,SWT.BORDER);
  GridDataFactory.fillDefaults().grab(true,true).applyTo(loginText);
  Label passwordLabel=new Label(sectionClient,SWT.NONE);
  passwordLabel.setText(DefaultMessagesImpl.getString("String_Node_Str"));
  passwordText=new Text(sectionClient,SWT.BORDER | SWT.PASSWORD);
  GridDataFactory.fillDefaults().grab(true,true).applyTo(passwordText);
  String loginValue=JavaSqlFactory.getUsername(connection);
  loginText.setText(loginValue == null ? PluginConstant.EMPTY_STRING : loginValue);
  String passwordValue=JavaSqlFactory.getPassword(connection);
  passwordText.setText(passwordValue == null ? PluginConstant.EMPTY_STRING : passwordValue);
  Label urlLabel=new Label(sectionClient,SWT.NONE);
  urlLabel.setText(DefaultMessagesImpl.getString("String_Node_Str"));
  Composite urlComp=new Composite(sectionClient,SWT.NONE);
  GridLayout gridLayout=new GridLayout(2,false);
  gridLayout.marginWidth=0;
  gridLayout.marginHeight=0;
  urlComp.setLayout(gridLayout);
  GridDataFactory.fillDefaults().grab(true,true).applyTo(urlComp);
  urlText=new Text(urlComp,SWT.BORDER | SWT.READ_ONLY);
  GridDataFactory.fillDefaults().hint(100,-1).grab(true,true).applyTo(urlText);
  String urlValue=JavaSqlFactory.getURL(connection);
  urlText.setText(urlValue == null ? PluginConstant.EMPTY_STRING : urlValue);
  Button editButton=new Button(urlComp,SWT.PUSH);
  editButton.setText(DefaultMessagesImpl.getString("String_Node_Str"));
  editButton.setToolTipText(DefaultMessagesImpl.getString("String_Node_Str"));
  editButton.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      changeConnectionInformations();
    }
  }
);
  String driverClass=JavaSqlFactory.getDriverClass(connection);
  if (driverClass != null && driverClass.startsWith("String_Node_Str")) {
    loginText.setEnabled(false);
    passwordText.setEnabled(false);
  }
  loginText.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      setDirty(true);
      isLoginChanged=true;
    }
  }
);
  passwordText.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      setDirty(true);
      isPassWordChanged=true;
    }
  }
);
  urlText.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      setDirty(true);
      isUrlChanged=true;
    }
  }
);
  infomatioinSection.setClient(sectionClient);
}

Fixed version (ground truth):
/** 
 * @param form
 * @param toolkit
 * @param topComp
 */
void createInformationSection(final ScrolledForm form,Composite topComp){
  infomatioinSection=createSection(form,topComp,DefaultMessagesImpl.getString("String_Node_Str"),DefaultMessagesImpl.getString("String_Node_Str"));
  Composite sectionClient=toolkit.createComposite(infomatioinSection);
  sectionClient.setLayout(new GridLayout(2,false));
  Label loginLabel=new Label(sectionClient,SWT.NONE);
  loginLabel.setText(DefaultMessagesImpl.getString("String_Node_Str"));
  loginText=new Text(sectionClient,SWT.BORDER);
  GridDataFactory.fillDefaults().grab(true,true).applyTo(loginText);
  Label passwordLabel=new Label(sectionClient,SWT.NONE);
  passwordLabel.setText(DefaultMessagesImpl.getString("String_Node_Str"));
  passwordText=new Text(sectionClient,SWT.BORDER | SWT.PASSWORD);
  GridDataFactory.fillDefaults().grab(true,true).applyTo(passwordText);
  String loginValue=JavaSqlFactory.getUsername(connection);
  loginText.setText(loginValue == null ? PluginConstant.EMPTY_STRING : loginValue);
  loginText.setEditable(!connection.isContextMode());
  String passwordValue=JavaSqlFactory.getPassword(connection);
  passwordText.setText(passwordValue == null ? PluginConstant.EMPTY_STRING : passwordValue);
  passwordText.setEditable(!connection.isContextMode());
  Label urlLabel=new Label(sectionClient,SWT.NONE);
  urlLabel.setText(DefaultMessagesImpl.getString("String_Node_Str"));
  Composite urlComp=new Composite(sectionClient,SWT.NONE);
  GridLayout gridLayout=new GridLayout(2,false);
  gridLayout.marginWidth=0;
  gridLayout.marginHeight=0;
  urlComp.setLayout(gridLayout);
  GridDataFactory.fillDefaults().grab(true,true).applyTo(urlComp);
  urlText=new Text(urlComp,SWT.BORDER | SWT.READ_ONLY);
  GridDataFactory.fillDefaults().hint(100,-1).grab(true,true).applyTo(urlText);
  String urlValue=JavaSqlFactory.getURL(connection);
  urlText.setText(urlValue == null ? PluginConstant.EMPTY_STRING : urlValue);
  Button editButton=new Button(urlComp,SWT.PUSH);
  editButton.setText(DefaultMessagesImpl.getString("String_Node_Str"));
  editButton.setToolTipText(DefaultMessagesImpl.getString("String_Node_Str"));
  editButton.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      changeConnectionInformations();
    }
  }
);
  String driverClass=JavaSqlFactory.getDriverClass(connection);
  if (driverClass != null && driverClass.startsWith("String_Node_Str")) {
    loginText.setEnabled(false);
    passwordText.setEnabled(false);
  }
  loginText.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      setDirty(true);
      isLoginChanged=true;
    }
  }
);
  passwordText.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      setDirty(true);
      isPassWordChanged=true;
    }
  }
);
  urlText.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      setDirty(true);
      isUrlChanged=true;
    }
  }
);
  infomatioinSection.setClient(sectionClient);
}