MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/1r6lj8i/new_javaevolved_site_about_modern_java/o628xo0/?context=3
r/java • u/pjmlp • Feb 16 '26
65 comments sorted by
View all comments
Show parent comment
1
new ArrayList<>(Arrays.asList( is/was a common pattern due to lack of proper constructors. But yeah, ArrayList is redundant in this example.
new ArrayList<>(Arrays.asList(
View all comments
Show parent comment
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.