anchor.diff:  }
   
   
  -if (resultsPerPage != null) {
  +if (resultsPerPage != null && resultsPerPage.compareTo("null") != 0) {
       bean.setPageSize(Integer.parseInt(resultsPerPage));
   }
   
  
positive.code: 
  String page_number = HTTPUtils.cleanXSS((String) request.getParameter("page_number"));
  int pageNum = 0;
  if (page_number != null) {
      pageNum = Integer.parseInt(page_number);
  }
  
  
negative.code: 
  
  String prevSortByStr = (String) request.getSession().getAttribute("sortBy");
  if (prevSortByStr != null && prevSortByStr.compareTo("null") != 0) {
      prevSortBy = Integer.parseInt(prevSortByStr);
  }
  
  