Skip to content

Commit b513b60

Browse files
committed
bug fix for JavaScript Arrays.sort
1 parent 6b6b8f0 commit b513b60

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed
168 Bytes
Binary file not shown.

sources/net.sf.j2s.java.core/src_4.2/java/util/Arrays.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ public static void sort(Object[] a, int fromIndex, int toIndex, Comparator c) {
441441
/**
442442
* @j2sNative
443443
*
444-
* temp.sort(c.compare);
444+
* temp.sort(function(a,b){return c.compare(a,b)});
445445
*/
446446
{
447447
}

0 commit comments

Comments
 (0)