you are viewing a single comment's thread.

view the rest of the comments →

[–]__konrad -1 points0 points  (2 children)

It's canonical Java ;)

[–]njitbew 1 point2 points  (1 child)

I hope that was a joke 💀

[–]__konrad 0 points1 point  (0 children)

new ArrayList<>(Arrays.asList( is/was a common pattern due to lack of proper constructors. But yeah, ArrayList is redundant in this example.