Add null check for postingPeriodType in SavingsHelper
This commit is contained in:
+1
-1
@@ -53,7 +53,7 @@ public final class SavingsHelper {
|
|||||||
|
|
||||||
final List<LocalDateInterval> postingPeriods = new ArrayList<>();
|
final List<LocalDateInterval> postingPeriods = new ArrayList<>();
|
||||||
|
|
||||||
if (startInterestCalculationLocalDate == null || interestPostingUpToDate == null) {
|
if (startInterestCalculationLocalDate == null || interestPostingUpToDate == null || postingPeriodType == null) {
|
||||||
return postingPeriods;
|
return postingPeriods;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user