Hallo Stefan,
I personally like more the NoCloseStream approach, it would help
avoiding code redundancies (having the Sysout check pattern repeated
doesn't look nice IMHO)
HTH, have a nice day, all the best!
Simo

http://people.apache.org/~simonetripodi/
http://www.99soft.org/



On Sat, Jul 23, 2011 at 5:23 AM, Stefan Bodewig <bode...@apache.org> wrote:
> Hi,
>
> for reference <https://issues.apache.org/jira/browse/COMPRESS-128>
>
> The bzip2 inputstream checks whether its wrapped input stream is
> System.in before closing it.  Do we want to add the same behavior to all
> other implementations or do we want to remove it from the bzip2 one and
> leave it to the user to wrap System.in in a NoCloseStream of some sort
> herself?
>
> Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>
>

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

Reply via email to