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

Bug 354840

Summary: SysLib.sort should be moved to EglList
Product: z_Archived Reporter: Matt Heitz <mheitz>
Component: EDTAssignee: Matt Heitz <mheitz>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: greer, lasher, pharmon
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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.