Emmanuel Nnaa created FINERACT-83:
-------------------------------------

             Summary: Make "interestIncome" variable null-safe in 
"LoanAccrualWritePlatformServiceImpl.updateInterestIncome" method
                 Key: FINERACT-83
                 URL: https://issues.apache.org/jira/browse/FINERACT-83
             Project: Apache Fineract
          Issue Type: Improvement
            Reporter: Emmanuel Nnaa
            Assignee: Markus Geiss


Make "interestIncome" variable null-safe in 
"LoanAccrualWritePlatformServiceImpl.updateInterestIncome" method.

*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
(v6.3.4#6332)

Reply via email to