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

Michael Vorburger reassigned FINERACT-83:
-----------------------------------------

    Assignee: Manthan Surkar  (was: Michael Vorburger)

> 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
>             Fix For: 1.4.0
>
>          Time Spent: 20m
>  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)

Reply via email to