Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337263 - LineAttributes should implement equals()
Summary: LineAttributes should implement equals()
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.6.1   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.7 M6   Edit
Assignee: Felipe Heidrich CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 352399 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-02-15 18:25 EST by Alexander Nyßen CLA
Modified: 2011-07-19 01:14 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Nyßen CLA 2011-02-15 18:25:29 EST
LineAttributes does not implement equals(), which leaves proper comparison of LineAttributes to clients. Instead, LineAttributes should implement equals() (as well as hashCode()).
Comment 1 Felipe Heidrich CLA 2011-02-17 11:24:56 EST
Fixed in HEAD

SSQ, note there are other objects in graphics that are missing equals (and hashCode).
Comment 2 Alexander Nyßen CLA 2011-07-19 01:14:35 EDT
*** Bug 352399 has been marked as a duplicate of this bug. ***