Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 318955

Summary: EclipseContext.removeLocalValueComputations(String) should not iterate all values
Product: [Eclipse Project] Platform Reporter: Stefan Mücke <s.muecke>
Component: RuntimeAssignee: Project Inbox <e4.runtime-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: bokowski, ob1.eclipse
Version: 3.7   
Target Milestone: 4.1   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
patch ob1.eclipse: iplog+

Description Stefan Mücke CLA 2010-07-06 02:36:39 EDT
A simple get on the HashSet is sufficient. There can be no duplicate keys.
Comment 1 Stefan Mücke CLA 2010-07-06 02:37:37 EDT
Created attachment 173498 [details]
patch
Comment 2 Oleg Besedin CLA 2010-07-06 13:22:18 EDT
Good point, patch applied to CVS Head. Thanks Stefan!