Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 354840 - SysLib.sort should be moved to EglList
Summary: SysLib.sort should be moved to EglList
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Matt Heitz CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-16 10:42 EDT by Matt Heitz CLA
Modified: 2017-02-23 14:15 EST (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 Matt Heitz CLA 2011-08-16 10:42:56 EDT
In RBD's RUILib we had a sort function to sort the elements of an array.  For EDT I moved it to SysLib, but it really belongs as a function on arrays (in EglList).

OLD (in eglx.lang.SysLib)
-------------------------
static function sort(array any[] in, sortFunction SortFunction);
Delegate
	SortFunction(a any in, b any in) returns (int)
end

NEW (in egl.lang.EglList)
-------------------------
function sort(sortFunction SortFunction);
Delegate
	SortFunction(a any in, b any in) returns (int)
end


I'll change the eglar and update the Java runtime too.
Comment 1 Matt Heitz CLA 2011-08-16 18:39:35 EDT
Done.
Comment 2 Lisa Lasher CLA 2011-08-26 18:10:39 EDT
changing to Enhancement, as this isn't really a defect.
Comment 3 Matt Heitz CLA 2011-09-08 13:55:27 EDT
Closing.