This is a misunderstanding of the case, as rayiner’s comment in that thread attests. That code was not the only code that was copied, there were also tens of thousands of lines of interface code that were the same. The case rested on whether the interface code was copyrightable. Oracle used that smaller sample as evidence that Google had copied carelessly from copyrighted material.