News for hackers. Stuff that matters.
Re:Google’s copying of the Java SE API was fair use [pdf] by tomsmeding on Monday April 05, 2021 @11:48AM (#26700537)
Aside from the questionable inequalities, there's a missing closing parenthesis after the arguments on the first line, too.

EDIT: as has been pointed out, the inequalities are correct. The original code can e.g. be found here, including doc comments showing the intended meaning of the arguments: http://www.groklaw.net/pdf3/OraGoogletrialexhibits/2012-04-2... (all the way at the end)

Re:Google’s copying of the Java SE API was fair use [pdf] by distribot on Monday April 05, 2021 @11:57AM (#26700629)
Thanks this makes sense. So the toIndex is literally defined as "the index after the last element in the range".