mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-20 04:09:04 +00:00
Prior to this commit, the `RequestPredicates` would add new attributes to the existing request attributes by creating a new `LinkedHashMap` with the total number of elements as its new initial capacity. This would not achieve optimal performance as initial resize or rehash operations could be expected. Consistently using `CollectionUtils#newLinkedHashMap` avoids this problem. Closes gh-32201