You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Niall Pemberton (JIRA)" <ji...@apache.org> on 2015/05/24 22:22:17 UTC

[jira] [Commented] (IO-478) Rename org.apache.commons.io.output.ByteArrayOutputStream

    [ https://issues.apache.org/jira/browse/IO-478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14557833#comment-14557833 ] 

Niall Pemberton commented on IO-478:
------------------------------------

This was the case when it was added in 2003 and I don't remember anyone ever expressing any confusion over this in that time.

I also think the name perfectly describes what it does which is just a different implementation of the java.io.ByteArrayOutputStream. Both implementations grow but just differ in their internal implementation of how they do that.

So my opinion is to leave this as it is and close this issue as WONTFIX.

> Rename org.apache.commons.io.output.ByteArrayOutputStream
> ---------------------------------------------------------
>
>                 Key: IO-478
>                 URL: https://issues.apache.org/jira/browse/IO-478
>             Project: Commons IO
>          Issue Type: Task
>          Components: Streams/Writers
>            Reporter: Benedikt Ritter
>             Fix For: 3.x
>
>
> The name of org.apache.commons.io.output.ByteArrayOutputStream clashes with java.io.ByteArrayOutputStream which can cause confusion. We should rename the class to something that better describes its behavior and differences to java.io.ByteArrayOutputStream, for example GrowingByteArrayOutputStream.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)