commons-configuration icon indicating copy to clipboard operation
commons-configuration copied to clipboard

Guard MapConfiguration against null maps

Open pingpingy1 opened this issue 11 months ago • 6 comments

MapConfiguration has a protected property map, which is provided upon instantiation and cannot be changed later. The lack of null guards for this property leads to inevitable NPEs at an undetermined later time. This PR implements a fail-fast guard.

pingpingy1 avatar Mar 15 '24 02:03 pingpingy1