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

Bug 344584

Summary: [xbase][lib] ListExtensions.sort is misleading
Product: [Modeling] TMF Reporter: Sebastian Zarnekow <sebastian.zarnekow>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: cap, sven.efftinge
Version: 2.0.0Flags: sebastian.zarnekow: indigo+
Target Milestone: RC1   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Sebastian Zarnekow CLA 2011-05-03 10:29:47 EDT
To summarize the results of an offline discussion:

#sort and #sortBy should return a sorted copy in any case

We add #sortInplace() and #sortInplaceBy() which will implement the current behavior.
Comment 1 Sven Efftinge CLA 2011-05-04 02:04:15 EDT
We should move sort and sortBy to IterableExtensions, while the inplace-variants should still be in ListExtensions
Comment 2 Sebastian Zarnekow CLA 2011-05-04 06:52:36 EDT
Pushed to master.
Comment 3 Karsten Thoms CLA 2017-09-19 17:16:08 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 4 Karsten Thoms CLA 2017-09-19 17:27:33 EDT
Closing all bugs that were set to RESOLVED before Neon.0