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 - Allow ElementHandle's to be compared
Summary: Allow ElementHandle's to be compared
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords: API
Depends on:
Blocks: 95534
  Show dependency tree
 
Reported: 2007-02-20 15:45 UTC by Andrei Badea
Modified: 2007-02-27 13:59 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

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