Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 318955 - EclipseContext.removeLocalValueComputations(String) should not iterate all values
Summary: EclipseContext.removeLocalValueComputations(String) should not iterate all va...
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Runtime (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 4.1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-06 02:36 EDT by Stefan Mücke CLA
Modified: 2011-05-17 16:25 EDT (History)
2 users (show)

See Also:


Attachments
patch (1.23 KB, patch)
2010-07-06 02:37 EDT, Stefan Mücke CLA
ob1.eclipse: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!