RFR JDK-8066867: Add InputStream transferTo to transfer content to an OutputStream

Patrick Reinhart patrick at reini.net
Tue Dec 9 23:05:23 UTC 2014


Hi Chris,
> Am 09.12.2014 um 23:58 schrieb Chris Hegarty <chris.hegarty at oracle.com>:
> 
> 
>> On 9 Dec 2014, at 22:24, Pavel Rappo <pavel.rappo at oracle.com> wrote:
>> 
>> 
>>> 2) I would extract the buffer size to a constant as in the NIO Files class
>> 
>> 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.
> 
> I assume this is just a comment on an implementation detail
>    private static final int BUFFER_SIZE ...
> 
>   , which I agree with.
> 
> -Chris

You got exactly my point :-)  I will try to improve my english and express myself more clearly the next time ;-)

-Patrick


More information about the core-libs-dev mailing list