Closed
Description
Kezhu Wang opened DATAREDIS-728 and commented
RedisCacheManagerBuilder.withInitialCacheConfiguration appends new cache configurations by doing:
- Create a new map initialized with existing cache configuration.
- Put all new cache configurations to that newly created map.
- Assign the newly created map to field
initialCaches
.
While just Map.putAll can accomplish this
Affects: 2.0.1 (Kay SR1)
Referenced from: pull request #293, and commits 1a6f51a, c454f42, ecb19f4, 1504c76
Backported to: 2.0.2 (Kay SR2)