PDA

View Full Version : Google VS Oracle - copied content


0x0f1f
May 8th, 2012, 09:43
well...

Oracle found what the bad and evil google engineers copied from Java codebase...
Code:

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);
}


http://brainbits.ca/googles-infringement-against-oracle-9-lines-of-code/


Lawyers are often idiots, but SO idiots...