Fix single-check idiom in `UnmodifiableMultiValueMap` by kilink · Pull Request #35822 · spring-projects/spring-framework
Read the respective fields only once in values, entrySet, and keySet methods. Signed-off-by: Patrick Strawderman <pstrawderman@netflix.com>
Issues in core modules (aop, beans, core, context, expression)
label
Nov 15, 2025
sbrannen
changed the title
Fix single-check idiom in UnmodifiableMultiValueMap
Fix single-check idiom in UnmodifiableMultiValueMap
sbrannen pushed a commit that referenced this pull request
Nov 17, 2025This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters