Closed
Description
Juergen Hoeller opened SPR-16926 and commented
Explicit implementations of putIfAbsent
and computeIfAbsent
allow for reusing the converted key within those steps. Also, both variants should return the old value (if any) even for a differently cased key; this also needs to be revised in the regular put
implementation.
Issue Links:
- LinkedCaseInsensitiveMap does not correctly implement putAll() [SPR-7969] #12624 LinkedCaseInsensitiveMap does not correctly implement putAll()
- LinkedCaseInsensitiveMap doesn't implement getOrDefault properly [SPR-13981] #18553 LinkedCaseInsensitiveMap doesn't implement getOrDefault properly
- JdbcTemplate.queryForMap should return first value of equally named columns [SPR-16578] #21120 JdbcTemplate.queryForMap should return first value of equally named columns