You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "rhopman (via GitHub)" <gi...@apache.org> on 2026/04/01 07:11:31 UTC
Re: [PR] FINERACT-2437: Decrease compilation warnings [fineract]
rhopman commented on code in PR #5721:
URL: https://github.com/apache/fineract/pull/5721#discussion_r3020236157
##########
fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/loanschedule/service/LoanScheduleHistoryReadPlatformServiceImpl.java:
##########
@@ -59,12 +59,11 @@ public LoanScheduleHistoryReadPlatformServiceImpl(final JdbcTemplate jdbcTemplat
this.jdbcTemplate = jdbcTemplate;
}
- @SuppressWarnings("deprecation")
@Override
public Integer fetchCurrentVersionNumber(Long loanId) {
final String sql = "select MAX(lrs.version) from m_loan_repayment_schedule_history lrs where lrs.loan_id = ?";
Integer max = this.jdbcTemplate.queryForObject(sql, new Object[] { loanId }, Integer.class);
Review Comment:
Good catch, @DeathGun44. I have changed it now to the new varargs form.
--
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: issues-unsubscribe@fineract.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org