RFR JDK-8066867: Add InputStream transferTo to transfer content to an OutputStream
patrick at reini.net
Tue Dec 9 22:54:01 UTC 2014
>> 2) I would extract the buffer size to a constant as in the NIO Files class
I may expressed myself not clear in my comment. I just wanted to point out, if the buffer size may should be extracted to a private static constant. The java.nio.file.Files class was meant to be an example.
> Patrick, we've discussed it already. Correct me if I wrong, but we came to the
> conclusion that there’s not enough evidence to support the need for this method.
What method besides „transferTo“ do you mean? Sorry, seem you lost me there…
More information about the core-libs-dev