percyashu commented on code in PR #2355:
URL: https://github.com/apache/fineract/pull/2355#discussion_r896120353


##########
fineract-provider/src/main/java/org/apache/fineract/accounting/journalentry/service/AccountingProcessorHelper.java:
##########
@@ -777,11 +777,11 @@ public void 
createCashBasedJournalEntriesAndReversalsForSavingsCharges(final Off
     }
 
     public LoanTransaction getLoanTransactionById(final long 
loanTransactionId) {
-        return 
this.loanTransactionRepository.findById(loanTransactionId).get();
+        return this.loanTransactionRepository.getById(loanTransactionId);

Review Comment:
   Interesting, will make the changes.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to