You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "Awasum Yannick (Jira)" <ji...@apache.org> on 2020/03/11 10:31:00 UTC

[jira] [Updated] (FINERACT-83) Make "interestIncome" variable in "LoanAccrualWritePlatformServiceImpl.updateInterestIncome" method null-safe

     [ https://issues.apache.org/jira/browse/FINERACT-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Awasum Yannick updated FINERACT-83:
-----------------------------------
    Labels: beginner starter  (was: )

> Make "interestIncome" variable in "LoanAccrualWritePlatformServiceImpl.updateInterestIncome" method null-safe
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: FINERACT-83
>                 URL: https://issues.apache.org/jira/browse/FINERACT-83
>             Project: Apache Fineract
>          Issue Type: Improvement
>            Reporter: Emmanuel Nnaa
>            Assignee: Manthan Surkar
>            Priority: Major
>              Labels: beginner, starter
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Make "interestIncome" variable in "LoanAccrualWritePlatformServiceImpl.updateInterestIncome" method null-safe.
> *Change the following line:*
> {code}
> BigDecimal interestIncome = accrualData.getInterestIncome();
> {code}
> *To:*
> {code}
> BigDecimal interestIncome = BigDecimal.ZERO;
> if(accrualData.getInterestIncome() != null) {
>     interestIncome = accrualData.getInterestIncome();
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)