commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: [IO] converting streams to buffered versions - rename asBufferedxxxx to buffer?`
Date Fri, 17 May 2013 14:44:28 GMT
On 16 May 2013 18:25, Dave Brosius <dbrosius@mebigfatguy.com> wrote:
> or ByteArrayInput/OutputStream

Would adding buffering help for those?
If so. please raise a JIRA enhancement.

>
> On 05/16/2013 01:13 PM, Jörg Schaible wrote:
>>
>> sebb wrote:
>>
>>> The issue
>>> https://issues.apache.org/jira/browse/IO-330
>>>
>>> added 4 methods:
>>> public static BufferedXXXX asBufferedXXXX(final XXXX xxxx)
>>> where XXXX = InputStream, OutputStream, Reader, Writer
>>>
>>> I just noticed that
>>> https://issues.apache.org/jira/browse/IO-233
>>> suggests overloaded methods called buffer instead:
>>>
>>> public static BufferedXXXX buffer(final XXXX xxxx)
>>>
>>> This is quite a lot easier to type, so I propose to rename the methods
>>> (and link the JIRAs) unless there are objections.
>>
>> +1
>>
>> However, I'd wrap the provided stream/reader/writer only, if it is not
>> already a (derived) buffered implementation.
>>
>> Cheers,
>> Jörg
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message