mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
d81f1a55c2
This commit introduces two tests to verify the status quo. - mapAccessThroughIndexerForNonexistentKey(): demonstrates that map access via the built-in support in the Indexer returns `null` for a nonexistent key. - nullAwareMapAccessor(): demonstrates that users can implement and register a custom extension of MapAccessor which reports that it can read any map (ignoring whether the map actually contains an entry for the given key) and returns `null` for a nonexistent key. See gh-35534