Bug 32254 - [Viewers] AbstractTreeViewer uses HashSet to remember expansion state
Summary: [Viewers] AbstractTreeViewer uses HashSet to remember expansion state
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 major (vote)
Target Milestone: 3.0 M9   Edit
Assignee: Nick Edgar CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-19 11:39 EST by Dirk Baeumer CLA
Modified: 2004-05-20 14:48 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Baeumer CLA 2003-02-19 11:39:15 EST
I20030216

The custom hash table should be used instead. Otherwise expansion state may be 
lost due to a different equals implementation of the element and the 
IElementComparer.
Comment 1 Nick Edgar CLA 2004-05-20 14:48:02 EDT
There were several other cases in other viewers as well.
org.eclipse.jface.viewers now has no refs to Hashtable, Map, HashMap, Set, or
HashSet.
Comment 2 Nick Edgar CLA 2004-05-20 14:48:37 EDT
The changes made it into I20040518.