[
https://issues.apache.org/jira/browse/POOL-166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sebb resolved POOL-166.
-----------------------
Fix Version/s: 1.5.5
Resolution: Fixed
Fixed with slightly amended patch (key variable assigned outside inner loop)
> GenericKeyedObjectPool.destroy could use entrySet() rather than keySet()
> followed by get()
> ------------------------------------------------------------------------------------------
>
> Key: POOL-166
> URL: https://issues.apache.org/jira/browse/POOL-166
> Project: Commons Pool
> Issue Type: Improvement
> Reporter: Sebb
> Priority: Minor
> Fix For: 1.5.5
>
> Attachments: GenericKeyedObjectPool.patch
>
>
> [Findbugs]
> It would be more efficient if GenericKeyedObjectPool.destroy used entrySet()
> rather than keySet() followed by get()
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.