You do know that he was agreeing to have copied 9 lines from one file, Timsort?
And you do know that those 9 lines are just a range check?
I mean:
private static void rangeCheck(int arrayLen, int fromIndex, int toIndex) {
if (fromIndex > toIndex)
throw new IllegalArgumentException("fromIndex(" + fromIndex +
") > toIndex(" + toIndex+")");
if (fromIndex < 0)
throw new ArrayIndexOutOfBoundsException(fromIndex);
if (toIndex > arrayLen)
throw new ArrayIndexOutOfBoundsException(toIndex);
}
Literally a rangeCheck.
And not only that, 9 lines written by the stealer himself ( http://cr.openjdk.java.net/~martin/webrevs/openjdk7/timsort/... ) and given to Sun/Oracle!
Still, i agree with, Sun/Oracle do have the copyrights for that. Google needs to pay up, is ten bucks alright for this?