Bug 161967

Summary: Map.keySet() can be replaced with Map.entrySet() when value is used
Product: [Eclipse Project] JDT Reporter: Olivier Thomann <Olivier_Thomann>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 Keywords: performance
Version: 3.3   
Target Milestone: 3.3 M3   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Olivier Thomann CLA 2006-10-23 11:33:13 EDT
When iterating over map.keySet(), if the value is retrieved in the loop, then using entrySet() is more efficient.
Comment 1 Olivier Thomann CLA 2006-10-23 22:50:38 EDT
Released for 3.3M3.
Comment 2 David Audel CLA 2006-10-30 06:39:00 EST
Verified for 3.3 M3 using build I20061030-0010