galovics commented on code in PR #3460:
URL: https://github.com/apache/fineract/pull/3460#discussion_r1342586376


##########
fineract-provider/src/main/java/org/apache/fineract/portfolio/collateralmanagement/service/ClientCollateralManagementReadPlatformServiceImpl.java:
##########
@@ -88,6 +78,7 @@ public ClientCollateralManagementData 
getClientCollateralManagementData(final Lo
         for (LoanCollateralManagement loanCollateralManagement : 
loanCollateralManagementSet) {
             if (loanCollateralManagement.getLoanTransaction() != null) {
                 Long transactionId = 
loanCollateralManagement.getLoanTransaction().getId();
+                assert transactionId != null;

Review Comment:
   Please don't use assert for validations. 



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