@Lucas Ł I'll be damned it worked! You don't know how many hours you saved me I tried everything from sublist to Arraylist(listToBeCopied) my last resort was to json serialize the whole shit and deserialize it again hoping this would make a new deep copy of object inside the list
k
karelpeeters
07/13/2018, 11:47 AM
Collections don't care about the objects in them, you can't make them "copy" them or something like that. That is something you need to do yourself, for example as in Łukasz' solution with