mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
d5cb1d9adb
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