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

[jira] [Assigned] (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 ]

Manthan Surkar reassigned FINERACT-83:
--------------------------------------

    Assignee: Manthan Surkar

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