This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 96047

Summary: Allow ElementHandle's to be compared
Product: java Reporter: Andrei Badea <abadea>
Component: SourceAssignee: Tomas Zezula <tzezula>
Status: RESOLVED FIXED    
Severity: blocker CC: jbecicka
Priority: P3 Keywords: API
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 95534    

Description Andrei Badea 2007-02-20 15:45:21 UTC
There are cases when it would be good to have an equals() method on
ElementHandle, such as when adding element handles to a collection. Please
consider introducing this method.
Comment 1 Tomas Zezula 2007-02-27 13:59:30 UTC
Checking in src/org/netbeans/api/java/source/ElementHandle.java;
/cvs/java/source/src/org/netbeans/api/java/source/ElementHandle.java,v  <-- 
ElementHandle.java
new revision: 1.8; previous revision: 1.7
done
Checking in test/unit/src/org/netbeans/api/java/source/ElementHandleTest.java;
/cvs/java/source/test/unit/src/org/netbeans/api/java/source/ElementHandleTest.java,v
 <--  ElementHandleTest.java
new revision: 1.5; previous revision: 1.4
done