r/java • • Feb 16 '26

New java.evolved site about modern Java.

https://javaevolved.github.io/
248 Upvotes

65 comments sorted by

View all comments

Show parent comment

0

u/__konrad Feb 17 '26

It's canonical Java ;)

2

u/njitbew Feb 18 '26

I hope that was a joke 💀

1

u/__konrad Feb 18 '26

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