Bug: Method com.fray.evo.util.EcCacheMap.putAll(Map) makes inefficient use of
keySet iterator instead of entrySet iterator
Pattern id: WMI_WRONG_MAP_ITERATOR, type: WMI, category: PERFORMANCE
This method accesses the value of a Map entry, using a key that was retrieved
from a keySet iterator. It is more efficient to use an iterator on the entrySet
of the map, to avoid the Map.get(key) lookup.
--
I used FindBugs (findbugs.sourceforge.net) on the project source. Will go
slowly through the 56 reported issues.
I will register each report I took action on in order to have a reference point
in the future and for easier change log generation.
Original issue reported on code.google.com by netpr...@gmail.com on 20 Jul 2011 at 7:24
Original issue reported on code.google.com by
netpr...@gmail.com
on 20 Jul 2011 at 7:24