Program: 24087
Project: 24087
Buggy source:
private void roundTrip() throws Exception {
  page.log("String_Node_Str",LogMessageType.Process);
  page.log("String_Node_Str",LogMessageType.Process);
  List<String> list=new ArrayList<String>();
  listExamples(list);
  Collections.sort(list);
  for (  PlatformGenerator gen : page.getReferenceImplementations()) {
    if (gen.doesTest()) {
      page.log("String_Node_Str" + gen.getTitle(),LogMessageType.Process);
      gen.test(page.getFolders(),list);
    }
  }
  page.log("String_Node_Str",LogMessageType.Process);
  if (buildFlags.get("String_Node_Str")) {
    list=new ArrayList<String>();
    listCollections1(list);
  }
  for (  PlatformGenerator gen : page.getReferenceImplementations()) {
    if (gen.doesTest()) {
      page.log("String_Node_Str" + gen.getTitle(),LogMessageType.Process);
      gen.test(page.getFolders(),list);
    }
  }
  page.log("String_Node_Str",LogMessageType.Process);
  if (buildFlags.get("String_Node_Str")) {
    list=new ArrayList<String>();
    listCollections2(list);
  }
  for (  PlatformGenerator gen : page.getReferenceImplementations()) {
    if (gen.doesTest()) {
      page.log("String_Node_Str" + gen.getTitle(),LogMessageType.Process);
      gen.test(page.getFolders(),list);
    }
  }
  list=new ArrayList<String>();
  listExamples(list);
  listCollections1(list);
  listCollections2(list);
  Collections.sort(list);
  for (  String n : list) {
    page.log("String_Node_Str" + n,LogMessageType.Process);
    validateRoundTrip(n);
  }
  for (  String rn : page.getDefinitions().sortedResourceNames()) {
    ResourceDefn r=page.getDefinitions().getResourceByName(rn);
    for (    SearchParameterDefn sp : r.getSearchParams().values()) {
      if (!sp.isWorks() && !sp.getCode().equals("String_Node_Str")) {
        page.getValidationErrors().add(new ValidationMessage(Source.Publisher,IssueType.INFORMATIONAL,-1,-1,rn + "String_Node_Str" + sp.getCode(),"String_Node_Str" + rn + "String_Node_Str"+ sp.getCode()+ "String_Node_Str"+ sp.getXPath()+ "String_Node_Str",IssueSeverity.WARNING));
      }
    }
  }
}

Fixed version (ground truth):
private void roundTrip() throws Exception {
  page.log("String_Node_Str",LogMessageType.Process);
  page.log("String_Node_Str",LogMessageType.Process);
  List<String> list=new ArrayList<String>();
  listExamples(list);
  Collections.sort(list);
  for (  PlatformGenerator gen : page.getReferenceImplementations()) {
    if (gen.doesTest()) {
      page.log("String_Node_Str" + gen.getTitle(),LogMessageType.Process);
      gen.test(page.getFolders(),list);
    }
  }
  page.log("String_Node_Str",LogMessageType.Process);
  if (buildFlags.get("String_Node_Str")) {
    list=new ArrayList<String>();
    listCollections1(list);
  }
  for (  PlatformGenerator gen : page.getReferenceImplementations()) {
    if (gen.doesTest()) {
      page.log("String_Node_Str" + gen.getTitle(),LogMessageType.Process);
      gen.test(page.getFolders(),list);
    }
  }
  page.log("String_Node_Str",LogMessageType.Process);
  if (buildFlags.get("String_Node_Str")) {
    list=new ArrayList<String>();
    listCollections2(list);
  }
  for (  PlatformGenerator gen : page.getReferenceImplementations()) {
    if (gen.doesTest()) {
      page.log("String_Node_Str" + gen.getTitle(),LogMessageType.Process);
      gen.test(page.getFolders(),list);
    }
  }
  list=new ArrayList<String>();
  listExamples(list);
  listCollections1(list);
  listCollections2(list);
  Collections.sort(list);
  for (  String n : list) {
    page.log("String_Node_Str" + n,LogMessageType.Process);
    validateRoundTrip(n);
  }
  for (  String rn : page.getDefinitions().sortedResourceNames()) {
    ResourceDefn r=page.getDefinitions().getResourceByName(rn);
    for (    SearchParameterDefn sp : r.getSearchParams().values()) {
      if (!sp.isWorks() && !sp.getCode().equals("String_Node_Str") && !Utilities.noString(sp.getXPath())) {
        page.getValidationErrors().add(new ValidationMessage(Source.Publisher,IssueType.INFORMATIONAL,-1,-1,rn + "String_Node_Str" + sp.getCode(),"String_Node_Str" + rn + "String_Node_Str"+ sp.getCode()+ "String_Node_Str"+ sp.getXPath()+ "String_Node_Str",IssueSeverity.WARNING));
      }
    }
  }
}