Source:
public void createPdpFeedsFromSaeRequestedCashAdvances() { if (getConcurBatchUtilityService().shouldProcessRequestedCashAdvancesFromSaeData()) { List<String> filesToProcess = getConcurSaeCreateRequestedCashAdvanceFileService().getUnprocessedSaeFiles(); if (filesToProcess.isEmpty()) { LOG.info("createPdpFeedsFromSaeRequetedCashAdvances: No SAE files found for cash advance request processing."); getConcurSaeCreateRequestedCashAdvanceReportService().sendEmailThatNoFileWasProcesed(); } else { LOG.info("createPdpFeedsFromSaeRequetedCashAdvances: Found " + filesToProcess.size() + " file(s) to process."); for (String standardAccountingExtractFullyQualifiedFileName : filesToProcess) { try { LOG.info("createPdpFeedsFromSaeRequetedCashAdvances: Begin processing for filename: " + standardAccountingExtractFullyQualifiedFileName + "."); if (getConcurSaeCreateRequestedCashAdvanceFileService().processFile(standardAccountingExtractFullyQualifiedFileName)) { LOG.info("createPdpFeedsFromSaeRequetedCashAdvances: SUCCESSFUL processing of cash advances from SAE File: " + standardAccountingExtractFullyQualifiedFileName); } else { LOG.error("createPdpFeedsFromSaeRequetedCashAdvances: Cash Advance Creation processing was UNSUCCESSFUL for SAE File: " + standardAccountingExtractFullyQualifiedFileName); } } catch (Exception e) { LOG.error("createPdpFeedsFromSaeRequetedCashAdvances: Processing to create cash advance PDP Files from SAE File [" + standardAccountingExtractFullyQualifiedFileName + "] generated Exception: " + e.getMessage()); e.printStackTrace(); } finally { LOG.info("createPdpFeedsFromSaeRequetedCashAdvances: SAE cash advance creation processing does NOT remove .done file."); } } } } else { LOG.info("createPdpFeedsFromSaeRequetedCashAdvances: KFS System parameter is NOT set to process requested cash advances from the SAE data."); } }

Target:
public void createPdpFeedsFromSaeRequestedCashAdvances() { if (getConcurBatchUtilityService().shouldProcessRequestedCashAdvancesFromSaeData()) { List<String> filesToProcess = getConcurSaeCreateRequestedCashAdvanceFileService().getUnprocessedSaeFiles(); if (filesToProcess.isEmpty()) { LOG.info("createPdpFeedsFromSaeRequetedCashAdvances: No SAE files found for cash advance request processing."); getConcurSaeCreateRequestedCashAdvanceReportService().sendEmailThatNoFileWasProcesed(); } else { LOG.info("createPdpFeedsFromSaeRequetedCashAdvances: Found " + filesToProcess.size() + " file(s) to process."); for (String standardAccountingExtractFullyQualifiedFileName : filesToProcess) { try { LOG.info("createPdpFeedsFromSaeRequetedCashAdvances: Begin processing for filename: " + standardAccountingExtractFullyQualifiedFileName + "."); if (getConcurSaeCreateRequestedCashAdvanceFileService().processFile(standardAccountingExtractFullyQualifiedFileName)) { LOG.info("createPdpFeedsFromSaeRequetedCashAdvances: SUCCESSFUL processing of cash advances from SAE File: " + standardAccountingExtractFullyQualifiedFileName); } else { LOG.error("createPdpFeedsFromSaeRequetedCashAdvances: Cash Advance Creation processing was UNSUCCESSFUL for SAE File: " + standardAccountingExtractFullyQualifiedFileName); } } catch (Exception e) { LOG.error("createPdpFeedsFromSaeRequetedCashAdvances: Processing to create cash advance PDP Files from SAE File [" + standardAccountingExtractFullyQualifiedFileName + "] generated Exception: " + e); e.printStackTrace(); } finally { LOG.info("createPdpFeedsFromSaeRequetedCashAdvances: SAE cash advance creation processing does NOT remove .done file."); } } } } else { LOG.info("createPdpFeedsFromSaeRequetedCashAdvances: KFS System parameter is NOT set to process requested cash advances from the SAE data."); } }