Commit Graph
5 Commits
Author SHA1 Message Date
airajenaandAdam Saghy 07d67493df FINERACT-1266: Fix NullPointerException in SavingsHelper.determineInterestPostingPeriods 2026-01-15 10:10:29 +01:00
airajenaandAdam Saghy d94050d476 FINERACT-2421: Add unit tests for SQLBuilder 2026-01-15 10:08:15 +01:00
airajenaandAdam Saghy eaf843a3ac FINERACT-2421: Fix GRETERTHAN typo in ConditionType enum 2026-01-12 13:50:40 +01:00
airajenaandArnold Gálovics 8134d7f6a0 FINERACT-2421: Simplify InputStream to String conversion using Java 11+ API 2025-12-29 10:36:05 +01:00
airajenaandArnold Gálovics b4fa48263b FINERACT-2421: Fix potential NullPointerException in CalendarCommandFromApiJsonDeserializer
The extractBooleanNamed method can return null when the JSON value is null
or missing. Using primitive boolean causes automatic unboxing which throws
NullPointerException.

Changes:
- CalendarCommandFromApiJsonDeserializer: Use Boolean wrapper instead of
  primitive boolean for 'repeating' field extraction
- CalendarCommandFromApiJsonDeserializer: Use Boolean.TRUE.equals() for
  null-safe boolean comparison
- CalendarCommand: Update field type and constructor parameter from
  boolean to Boolean to support null values

This addresses the FIXME comments on lines 156 and 298 in the original file.
2025-12-29 10:35:40 +01:00