Do note that there’s the concept of https://en.wikipedia.org/wiki/Threshold_of_originality, which may be substantial for mere code snippets.
This may be one of the reasons why the lawsuit isn’t based on copyright.
This may be one of the reasons why the lawsuit isn’t based on copyright.