Skip to content

BeanFactoryAnnotationUtils,qualifiedBeanOfType, Inefficient use of keySet iterator. [SPR-12356] #16961

@spring-projects-issues

Description

@spring-projects-issues

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

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions