if(luceneBill.getFulltext() != null) {
int pageNumber = getPageNumber(rawBillNo.replaceAll("^0*", ""), luceneBill.getFulltext());
if(pageNumber != new Integer(lbdcPageCount)) {
ProblemBill problemBill = new ProblemBill(formattedBillNo, luceneBill.getModified());
problemBill.addNonMatchingField(new NonMatchingField(FieldName.FULLTEXT, pageNumber + "", lbdcPageCount + ""));
problemBill.setLastReported(time);
return problemBill;
}
}
}