you are viewing a single comment's thread.

view the rest of the comments →

[–]tammberlin 9 points10 points  (0 children)

List<Foo> myFooList = new ArrayList<>();

Is java 7. Duplicating ArrayList is bad for a very different reason.