Add null check for postingPeriodType in SavingsHelper

This commit is contained in:
Prakash M S
2026-02-18 09:11:08 +00:00
committed by Adam Saghy
parent 92f8b3d0d4
commit 2f17c20dfd
@@ -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;
} }