remove line in AbstractLoanScheduleGenerator [FINERACT-977]

It was wrongly added in commit re. fix possible NPE in AbstractLoanScheduleGenerator.
This commit is contained in:
Michael Vorburger
2020-06-02 19:52:30 +02:00
committed by Michael Vorburger ⛑️
parent 16a69e7a4c
commit fd3b75711c
@@ -641,9 +641,8 @@ public abstract class AbstractLoanScheduleGenerator implements LoanScheduleGener
&& fixedEmiAmount != null
&& fixedEmiAmount.compareTo(loanApplicationTerms.getFixedEmiAmount()) != 0) {
currentPeriodParams.setEmiAmountChanged(true);
currentPeriodParams.plusPrincipalForThisPeriod(currentPeriodParams.getEarlyPaidAmount());
}
currentPeriodParams.plusPrincipalForThisPeriod(currentPeriodParams.getEarlyPaidAmount());
currentPeriodParams.plusPrincipalForThisPeriod(currentPeriodParams.getEarlyPaidAmount());
}
// update outstandingLoanBlance using current period