Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 566568

Summary: Optimize AdapterKey.compareTo()
Product: [Tools] GEF Reporter: Alexander Nyßen <nyssen>
Component: GEF CommonAssignee: gef-inbox <gef-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 5.3.1 (2020-09) RC1   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Alexander Nyßen CLA 2020-09-01 12:55:24 EDT
AdapterKey's compare method internally uses equals as well as compareTo for the keys role. We can optimize this by using compareTo alone.
Comment 1 Alexander Nyßen CLA 2020-09-01 12:56:08 EDT
Resolving as fixed in 5.3.1 RC1.