galovics commented on code in PR #2301:
URL: https://github.com/apache/fineract/pull/2301#discussion_r860922556
##########
fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/service/LoanReadPlatformServiceImpl.java:
##########
@@ -2369,8 +2369,11 @@ public Integer retrieveNumberOfActiveLoans() {
public CollectionData retrieveLoanCollectionData(Long loanId) {
final CollectionDataMapper mapper = new
CollectionDataMapper(sqlGenerator);
String sql = "select " + mapper.schema();
- CollectionData collectionData = this.jdbcTemplate.queryForObject(sql,
mapper, new Object[] { loanId }); // NOSONAR
- return collectionData;
+ List<CollectionData> collectionDatas = this.jdbcTemplate.query(sql,
mapper, new Object[] { loanId });
Review Comment:
Please don't remove the // NOSONAR comment.
--
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]