BeanFactoryAnnotationUtils,qualifiedBeanOfType, Inefficient use of keySet iterator. [SPR-12356] #16961
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Min Ho Pak opened SPR-12356 and commented
BeanFactoryAnnotationUtils,qualifiedBeanOfType method use KeySet Iterator.
It is more efficient to use an iterator on the entrySet of the map, to avoid the Map.get(key) lookup.
pull request:
#667
Affects: 4.1.1
Issue Links:
Referenced from: pull request #667, and commits 2e5d752
The text was updated successfully, but these errors were encountered: