You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@fineract.apache.org by "Emmanuel Nnaa (JIRA)" <ji...@apache.org> on 2016/03/17 12:46:33 UTC

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

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)