commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simone Tripodi <simonetrip...@apache.org>
Subject Re: [compress] Closing Streams and System.in (COMPRESS-128)
Date Sat, 23 Jul 2011 05:57:35 GMT
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 <bodewig@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-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