Program: 8460
Project: 8460
Buggy source:
@SuppressWarnings({"String_Node_Str"}) @Override protected HandlerMethod lookupHandlerMethod(String lookupPath,HttpServletRequest origRequest) throws Exception {
  String acceptType=origRequest.getHeader("String_Node_Str");
  if (null == acceptType) {
    acceptType=config.getDefaultMediaType().toString();
  }
  List<MediaType> acceptHeaderTypes=MediaType.parseMediaTypes(acceptType);
  List<MediaType> acceptableTypes=new ArrayList<MediaType>();
  for (  MediaType mt : acceptHeaderTypes) {
    if (("String_Node_Str".equals(mt.getType()) && ("String_Node_Str".equals(mt.getSubtype())) || ("String_Node_Str".equals(mt.getType()) && "String_Node_Str".equals(mt.getSubtype())))) {
      mt=config.getDefaultMediaType();
    }
    if (!acceptableTypes.contains(mt)) {
      acceptableTypes.add(mt);
    }
  }
  if (acceptableTypes.size() > 1) {
    acceptType=collectionToDelimitedString(acceptableTypes,"String_Node_Str");
  }
 else   if (acceptableTypes.size() == 1) {
    acceptType=acceptableTypes.get(0).toString();
  }
 else {
    acceptType=config.getDefaultMediaType().toString();
  }
  HttpServletRequest request=new DefaultAcceptTypeHttpServletRequest(origRequest,acceptType);
  if (acceptType.contains("String_Node_Str")) {
    if (null != request.getParameter(config.getJsonpParamName()) || null != request.getParameter(config.getJsonpOnErrParamName())) {
      return super.lookupHandlerMethod(lookupPath,request);
    }
 else {
      return null;
    }
  }
  String requestUri=lookupPath;
  if (requestUri.startsWith("String_Node_Str")) {
    requestUri=requestUri.substring(1);
  }
  if (!hasText(requestUri)) {
    return super.lookupHandlerMethod(lookupPath,request);
  }
  String[] parts=requestUri.split("String_Node_Str");
  if (parts.length == 0) {
    return super.lookupHandlerMethod(lookupPath,request);
  }
  for (  Class<?> domainType : repositories) {
    RepositoryInformation repoInfo=repositories.getRepositoryInformationFor(domainType);
    ResourceMapping mapping=getResourceMapping(config,repoInfo);
    if (mapping.getPath().equals(parts[0]) && mapping.isExported()) {
      return super.lookupHandlerMethod(lookupPath,request);
    }
  }
  return null;
}

Fixed version (ground truth):
@SuppressWarnings({"String_Node_Str"}) @Override protected HandlerMethod lookupHandlerMethod(String lookupPath,HttpServletRequest origRequest) throws Exception {
  String acceptType=origRequest.getHeader("String_Node_Str");
  if (null == acceptType) {
    acceptType=config.getDefaultMediaType().toString();
  }
  List<MediaType> acceptHeaderTypes=MediaType.parseMediaTypes(acceptType);
  List<MediaType> acceptableTypes=new ArrayList<MediaType>();
  for (  MediaType mt : acceptHeaderTypes) {
    if (("String_Node_Str".equals(mt.getType()) && ("String_Node_Str".equals(mt.getSubtype())) || ("String_Node_Str".equals(mt.getType()) && "String_Node_Str".equals(mt.getSubtype())))) {
      mt=config.getDefaultMediaType();
    }
    if (!acceptableTypes.contains(mt)) {
      acceptableTypes.add(mt);
    }
  }
  if (acceptableTypes.size() > 1) {
    acceptType=collectionToDelimitedString(acceptableTypes,"String_Node_Str");
  }
 else   if (acceptableTypes.size() == 1) {
    acceptType=acceptableTypes.get(0).toString();
  }
 else {
    acceptType=config.getDefaultMediaType().toString();
  }
  HttpServletRequest request=new DefaultAcceptTypeHttpServletRequest(origRequest,acceptType);
  String requestUri=lookupPath;
  if (requestUri.startsWith("String_Node_Str")) {
    requestUri=requestUri.substring(1);
  }
  if (!hasText(requestUri)) {
    return super.lookupHandlerMethod(lookupPath,request);
  }
  String[] parts=requestUri.split("String_Node_Str");
  if (parts.length == 0) {
    return super.lookupHandlerMethod(lookupPath,request);
  }
  for (  Class<?> domainType : repositories) {
    RepositoryInformation repoInfo=repositories.getRepositoryInformationFor(domainType);
    ResourceMapping mapping=getResourceMapping(config,repoInfo);
    if (mapping.getPath().equals(parts[0]) && mapping.isExported()) {
      return super.lookupHandlerMethod(lookupPath,request);
    }
  }
  return null;
}