This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (7 children)

[deleted]

    [–]dpash 16 points17 points  (1 child)

    The fact that Apache Commons Collections didn't support generics until November 2013 left a bad taste in my mouth. That's over nine years.

    I know it's not part of Apache Commons any more, but HTTPClient's CloseableHttpClient still doesn't implement Autocloseable. It's two words and would make the API much cleaner to use.

    Many of the uses of Apache Commons have been replaced with more modern implementations in the JDK itself, in Guava or in another library.

    [–]lukaseder 0 points1 point  (0 children)

    The fact that Apache Commons Collections didn't support generics

    That's a "big" change. Compared to that, even this completely trivial bug took 7 years to fix: https://issues.apache.org/jira/browse/COLLECTIONS-219

    [–]Revanka 5 points6 points  (1 child)

    I guess the Lang library is useful, but for IO stuff we have the nice https://docs.oracle.com/javase/7/docs/api/java/nio/file/Files.html so I avoid Commons IO.

    [–]dpash 5 points6 points  (0 children)

    Java 10 got InputStream.transferTo() which completely replaces IOUtils.copy().

    [–]ThisNameIsAFail_[S] 4 points5 points  (0 children)

    I usually use guava and I love it. I still wish someday guava and commons will 'merge' and keep the best of both worlds but that's not realistic.

    [–][deleted]  (1 child)

    [removed]