FINERACT-1266: Fix potential NPE in determineInterestPostingPeriods
This commit is contained in:
committed by
Adam Saghy
parent
c9a41794e8
commit
89487a8ace
+3
@@ -57,6 +57,9 @@ public final class SavingsHelper {
|
||||
return postingPeriods;
|
||||
}
|
||||
|
||||
if (postInterestAsOn == null) {
|
||||
postInterestAsOn = Collections.emptyList();
|
||||
}
|
||||
LocalDate periodStartDate = startInterestCalculationLocalDate;
|
||||
LocalDate periodEndDate = periodStartDate;
|
||||
LocalDate actualPeriodStartDate = periodStartDate;
|
||||
|
||||
Reference in New Issue
Block a user