From f538cbc51d20118b81aa549a0904809441777d06 Mon Sep 17 00:00:00 2001 From: Alexander Ljungberg Date: Sun, 10 Jun 2012 01:18:56 +0100 Subject: [PATCH] Re #1560. Remove obsolete function. --- Foundation/CPArray/CPMutableArray.j | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/Foundation/CPArray/CPMutableArray.j b/Foundation/CPArray/CPMutableArray.j index 42e3a88de..308390429 100644 --- a/Foundation/CPArray/CPMutableArray.j +++ b/Foundation/CPArray/CPMutableArray.j @@ -428,19 +428,6 @@ var sortArrayUsingFunction = function(array, aFunction, aContext) } } -// sort using sort descriptors -var compareObjectsUsingDescriptors = function(lhs, rhs, descriptors) -{ - var result = CPOrderedSame, - i = 0, - n = [descriptors count]; - - while (i < n && result === CPOrderedSame) - result = [descriptors[i++] compareObject:lhs withObject:rhs]; - - return result; -}; - // Observe that the sort descriptors has the reversed order by the caller var sortArrayUsingJSDescriptors = function(a, d) {