a7med3del1973 commented on code in PR #4836:
URL: https://github.com/apache/fineract/pull/4836#discussion_r2185495510


##########
fineract-loan/src/main/java/org/apache/fineract/portfolio/loanaccount/service/LoanArrearsAgingServiceImpl.java:
##########
@@ -104,7 +104,8 @@ public void 
updateLoanArrearsAgeingDetailsWithOriginalSchedule(final Loan loan)
         OriginalScheduleExtractor originalScheduleExtractor = new 
OriginalScheduleExtractor(loan.getId().toString(), sqlGenerator);
         Map<Long, List<LoanSchedulePeriodData>> scheduleDate = 
this.jdbcTemplate.query(originalScheduleExtractor.schema,
                 originalScheduleExtractor);
-        if (scheduleDate.size() > 0) {
+        assert scheduleDate != null;

Review Comment:
   Already done



-- 
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