Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344584 - [xbase][lib] ListExtensions.sort is misleading
Summary: [xbase][lib] ListExtensions.sort is misleading
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.0.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: RC1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-03 10:29 EDT by Sebastian Zarnekow CLA
Modified: 2017-09-19 17:27 EDT (History)
2 users (show)

See Also:
sebastian.zarnekow: indigo+


Attachments

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