Program: 111722
Project: 111722
Buggy source:
protected Environment clean(Environment value){
  Environment result=new Environment(value.getName(),value.getProfiles(),value.getLabel());
  for (  PropertySource source : value.getPropertySources()) {
    String name=source.getName();
    if (environment.getPropertySources().contains(name)) {
      continue;
    }
    name=name.replace("String_Node_Str","String_Node_Str");
    name=name.replace("String_Node_Str","String_Node_Str");
    if (searchLocations != null) {
      boolean matches=false;
      String normal=name;
      if (normal.startsWith("String_Node_Str")) {
        normal=new File(normal.substring("String_Node_Str".length())).getAbsolutePath();
      }
      for (      String pattern : StringUtils.commaDelimitedListToStringArray(getLocations(searchLocations,result.getLabel()))) {
        if (!pattern.contains("String_Node_Str")) {
          pattern="String_Node_Str" + pattern;
        }
        if (pattern.startsWith("String_Node_Str")) {
          pattern=StringUtils.cleanPath(new File(pattern.substring("String_Node_Str".length())).getAbsolutePath()) + "String_Node_Str";
        }
        if (logger.isTraceEnabled()) {
          logger.trace("String_Node_Str" + pattern + "String_Node_Str"+ name);
        }
        if (normal.startsWith(pattern) && !normal.substring(pattern.length()).contains("String_Node_Str")) {
          matches=true;
          break;
        }
      }
      if (!matches) {
        if (logger.isDebugEnabled()) {
          logger.debug("String_Node_Str" + name);
        }
        continue;
      }
    }
    logger.info("String_Node_Str" + name);
    result.add(new PropertySource(name,source.getSource()));
  }
  return result;
}

Fixed version (ground truth):
protected Environment clean(Environment value){
  Environment result=new Environment(value.getName(),value.getProfiles(),value.getLabel());
  for (  PropertySource source : value.getPropertySources()) {
    String name=source.getName();
    if (environment.getPropertySources().contains(name)) {
      continue;
    }
    name=name.replace("String_Node_Str","String_Node_Str");
    name=name.replace("String_Node_Str","String_Node_Str");
    if (searchLocations != null) {
      boolean matches=false;
      String normal=name;
      if (normal.startsWith("String_Node_Str")) {
        normal=StringUtils.cleanPath(new File(normal.substring("String_Node_Str".length())).getAbsolutePath());
      }
      for (      String pattern : StringUtils.commaDelimitedListToStringArray(getLocations(searchLocations,result.getLabel()))) {
        if (!pattern.contains("String_Node_Str")) {
          pattern="String_Node_Str" + pattern;
        }
        if (pattern.startsWith("String_Node_Str")) {
          pattern=StringUtils.cleanPath(new File(pattern.substring("String_Node_Str".length())).getAbsolutePath()) + "String_Node_Str";
        }
        if (logger.isTraceEnabled()) {
          logger.trace("String_Node_Str" + pattern + "String_Node_Str"+ name);
        }
        if (normal.startsWith(pattern) && !normal.substring(pattern.length()).contains("String_Node_Str")) {
          matches=true;
          break;
        }
      }
      if (!matches) {
        if (logger.isDebugEnabled()) {
          logger.debug("String_Node_Str" + name);
        }
        continue;
      }
    }
    logger.info("String_Node_Str" + name);
    result.add(new PropertySource(name,source.getSource()));
  }
  return result;
}