Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
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.
Referenced from: pull request #667, and commits 2e5d752
The text was updated successfully, but these errors were encountered:
Stéphane Nicoll commented
Thanks for the PR. You get a point that in that particular case this is more efficient, especially because we are building a map ourselves and we can guarantee its nature.
Sorry, something went wrong.
No branches or pull requests