3 ms·
Amazingly, in Java 8, they added a Files utility class to copy an InputStream to a Path, and copy a Path to an OutputStream, but no Files.copy(InputStream, Outp
by cromwellian 13y ago
Amazingly, in Java 8, they added a Files utility class to copy an InputStream to a Path, and copy a Path to an OutputStream, but no Files.copy(InputStream, OutputStream).
At this point, Guava should just be added as part of the JDK. :) In Guava, ByteStreams.copy(System.in, System.out)
- lmm 13y agoJava has really solid dependency management with maven, so I'd actually like to see less in the JDK. Let Guava/JodaTime/log4j/etc. keep their faster release cycle, just deprecate the parts of the JDK that used to do those things and point developers in the right direction.