Program: 54926
Project: 54926
Buggy source:
public void authorize(String jenkinsBaseUrl,Project project,WebDriver driver,Developer... developers){
  String jobConfigureUrl=UrlUtil.removeEndIfExists(jenkinsBaseUrl,"String_Node_Str") + "String_Node_Str" + project.getArtifactId()+ "String_Node_Str";
  ProjectConfigUtil.openJobConfigurePage(driver,jobConfigureUrl);
  if (!SeleniumUtil.elementExist(driver,By.cssSelector("String_Node_Str"))) {
    throw new CISClientBaseRuntimeException("String_Node_Str");
  }
  WebElement userProjectSecurityCheckbox=driver.findElement(By.cssSelector("String_Node_Str"));
  if (!"String_Node_Str".equals(userProjectSecurityCheckbox.getAttribute("String_Node_Str"))) {
    userProjectSecurityCheckbox.click();
  }
  WebElement userProjectSecurityMartix=driver.findElement(By.xpath("String_Node_Str"));
  List<Developer> notExistUsers=new ArrayList<Developer>();
  for (  Developer developer : developers) {
    if (SeleniumUtil.elementExist(driver,By.cssSelector("String_Node_Str" + developer.getName() + "String_Node_Str"))) {
      continue;
    }
    WebElement userInput=userProjectSecurityMartix.findElement(By.cssSelector("String_Node_Str"));
    userInput.sendKeys(developer.getName());
    WebElement addUserSubmitButton=userProjectSecurityMartix.findElement(By.cssSelector("String_Node_Str"));
    addUserSubmitButton.click();
    WebElement readPermissionCheckbox=driver.findElement(By.cssSelector("String_Node_Str" + developer.getName() + "String_Node_Str"));
    readPermissionCheckbox.click();
    if (SeleniumUtil.elementExist(driver,By.cssSelector("String_Node_Str" + developer.getName() + "String_Node_Str"))) {
      notExistUsers.add(developer);
    }
  }
  ProjectConfigUtil.submitForm(driver,project.getArtifactId());
  for (  Developer developer : notExistUsers) {
    UserCreator userCreator=new UserCreator();
    userCreator.createUser(jenkinsBaseUrl,developer,driver);
  }
}

Fixed version (ground truth):
public void authorize(String jenkinsBaseUrl,Project project,WebDriver driver,Developer... developers){
  String jobConfigureUrl=UrlUtil.removeEndIfExists(jenkinsBaseUrl,"String_Node_Str") + "String_Node_Str" + project.getArtifactId()+ "String_Node_Str";
  ProjectConfigUtil.openJobConfigurePage(driver,jobConfigureUrl);
  if (!SeleniumUtil.elementExist(driver,By.cssSelector("String_Node_Str"))) {
    throw new CISClientBaseRuntimeException("String_Node_Str");
  }
  WebElement userProjectSecurityCheckbox=driver.findElement(By.cssSelector("String_Node_Str"));
  if (!"String_Node_Str".equals(userProjectSecurityCheckbox.getAttribute("String_Node_Str"))) {
    userProjectSecurityCheckbox.click();
  }
  WebElement userProjectSecurityMartix=driver.findElement(By.xpath("String_Node_Str"));
  List<Developer> notExistUsers=new ArrayList<Developer>();
  for (  Developer developer : developers) {
    if (SeleniumUtil.elementExist(driver,By.cssSelector("String_Node_Str" + developer.getName() + "String_Node_Str"))) {
      continue;
    }
    WebElement userInput=userProjectSecurityMartix.findElement(By.cssSelector("String_Node_Str"));
    userInput.sendKeys(developer.getName());
    WebElement addUserSubmitButton=userProjectSecurityMartix.findElement(By.cssSelector("String_Node_Str"));
    addUserSubmitButton.click();
    WebElement readPermissionCheckbox=driver.findElement(By.cssSelector("String_Node_Str" + developer.getName() + "String_Node_Str"));
    readPermissionCheckbox.click();
  }
  ProjectConfigUtil.submitForm(driver,project.getArtifactId());
}