Program: 90086
Project: 90086
Buggy source:
/** 
 * Get Applications based on user parameters.
 * @param name      name for configuration (optional)
 * @param userName  The user who created the application (optional)
 * @param statuses  The statuses of the applications (optional)
 * @param tags      The set of tags you want the command for.
 * @param page      The page to get
 * @param assembler The paged resources assembler to use
 * @return All applications matching the criteria
 * @throws GenieException For any error
 */
@RequestMapping(method=RequestMethod.GET,produces=MediaTypes.HAL_JSON_VALUE) @ResponseStatus(HttpStatus.OK) @ApiOperation(value="String_Node_Str",notes="String_Node_Str",response=PagedResources.class,responseContainer="String_Node_Str") @ApiResponses(value={@ApiResponse(code=HttpURLConnection.HTTP_PRECON_FAILED,message="String_Node_Str"),@ApiResponse(code=HttpURLConnection.HTTP_INTERNAL_ERROR,message="String_Node_Str")}) public PagedResources<ApplicationResource> getApplications(@ApiParam(value="String_Node_Str") @RequestParam(value="String_Node_Str",required=false) final String name,@ApiParam(value="String_Node_Str") @RequestParam(value="String_Node_Str",required=false) final String userName,@ApiParam(value="String_Node_Str",allowableValues="String_Node_Str") @RequestParam(value="String_Node_Str",required=false) final Set<String> statuses,@ApiParam(value="String_Node_Str") @RequestParam(value="String_Node_Str",required=false) final Set<String> tags,@PageableDefault(page=0,size=64,sort={"String_Node_Str"},direction=Sort.Direction.DESC) final Pageable page,final PagedResourcesAssembler<Application> assembler) throws GenieException {
  if (LOG.isDebugEnabled()) {
    LOG.debug("String_Node_Str");
    LOG.debug(name + "String_Node_Str" + userName+ "String_Node_Str"+ statuses+ "String_Node_Str"+ tags+ "String_Node_Str"+ page);
  }
  Set<ApplicationStatus> enumStatuses=null;
  if (statuses != null && !statuses.isEmpty()) {
    enumStatuses=EnumSet.noneOf(ApplicationStatus.class);
    for (    final String status : statuses) {
      if (StringUtils.isNotBlank(status)) {
        enumStatuses.add(ApplicationStatus.parse(status));
      }
    }
  }
  final Link self=ControllerLinkBuilder.linkTo(ControllerLinkBuilder.methodOn(ApplicationRestController.class).getApplications(name,userName,statuses,tags,page,null)).withSelfRel();
  return assembler.toResource(this.applicationService.getApplications(name,userName,enumStatuses,tags,page),this.applicationResourceAssembler,self);
}

Fixed version (ground truth):
/** 
 * Get Applications based on user parameters.
 * @param name      name for configuration (optional)
 * @param userName  The user who created the application (optional)
 * @param statuses  The statuses of the applications (optional)
 * @param tags      The set of tags you want the command for.
 * @param page      The page to get
 * @param assembler The paged resources assembler to use
 * @return All applications matching the criteria
 * @throws GenieException For any error
 */
@RequestMapping(method=RequestMethod.GET,produces=MediaTypes.HAL_JSON_VALUE) @ResponseStatus(HttpStatus.OK) @ApiOperation(value="String_Node_Str",notes="String_Node_Str",response=PagedResources.class,responseContainer="String_Node_Str") @ApiResponses(value={@ApiResponse(code=HttpURLConnection.HTTP_PRECON_FAILED,message="String_Node_Str"),@ApiResponse(code=HttpURLConnection.HTTP_INTERNAL_ERROR,message="String_Node_Str")}) public PagedResources<ApplicationResource> getApplications(@ApiParam(value="String_Node_Str") @RequestParam(value="String_Node_Str",required=false) final String name,@ApiParam(value="String_Node_Str") @RequestParam(value="String_Node_Str",required=false) final String userName,@ApiParam(value="String_Node_Str",allowableValues="String_Node_Str") @RequestParam(value="String_Node_Str",required=false) final Set<String> statuses,@ApiParam(value="String_Node_Str") @RequestParam(value="String_Node_Str",required=false) final Set<String> tags,@PageableDefault(page=0,size=64,sort={"String_Node_Str"},direction=Sort.Direction.DESC) final Pageable page,final PagedResourcesAssembler<Application> assembler) throws GenieException {
  if (LOG.isDebugEnabled()) {
    LOG.debug("String_Node_Str");
    LOG.debug(name + "String_Node_Str" + userName+ "String_Node_Str"+ statuses+ "String_Node_Str"+ tags+ "String_Node_Str"+ page);
  }
  Set<ApplicationStatus> enumStatuses=null;
  if (statuses != null && !statuses.isEmpty()) {
    enumStatuses=EnumSet.noneOf(ApplicationStatus.class);
    for (    final String status : statuses) {
      if (StringUtils.isNotBlank(status)) {
        enumStatuses.add(ApplicationStatus.parse(status));
      }
    }
  }
  final Link self=ControllerLinkBuilder.linkTo(ControllerLinkBuilder.methodOn(ApplicationRestController.class).getApplications(name,userName,statuses,tags,page,assembler)).withSelfRel();
  return assembler.toResource(this.applicationService.getApplications(name,userName,enumStatuses,tags,page),this.applicationResourceAssembler,self);
}