[
https://issues.apache.org/jira/browse/DERBY-5021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Knut Anders Hatlen resolved DERBY-5021.
---------------------------------------
Resolution: Fixed
Assignee: Dave Brosius
Issue & fix info: (was: [Patch Available])
After DERBY-5143 we don't need the changes in EmbedConnection40 and
NetConnection40 that reintroduced the compiler warnings. I removed the changes
in those two files from the patch and committed revision 1085409. Thanks, Dave!
> [patch] avoid map look ups in a loop by using entrySet
> ------------------------------------------------------
>
> Key: DERBY-5021
> URL: https://issues.apache.org/jira/browse/DERBY-5021
> Project: Derby
> Issue Type: Improvement
> Components: Network Server
> Affects Versions: 10.7.1.1
> Reporter: Dave Brosius
> Assignee: Dave Brosius
> Priority: Trivial
> Fix For: 10.8.0.0
>
> Attachments: use_entryset_iterators.diff
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> various places code walks a keyset iterator in a loop and each time thru the
> loop does a map lookup for the value based on the current key. Avoid the map
> look ups by just iterating with an entry set iterator.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira