On 18 April 2011 06:22, Stefan Bodewig <bode...@apache.org> wrote:
> On 2011-04-18, Adrian Crum wrote:
>
>> A suggestion: if the library has logging capability, then log a
>> warning saying that the archive was closed in the finalize
>> method. That will serve as a clue to the library user that they forgot
>> to close the archive.
>
> You are right, but commons-compress doesn't have any dependency on any
> logging framework right now and I'd hesitate to do that just for this
> case.

Could perhaps just use System.err ?

It's a bug in the user code, so they cannot really complain if there
is additional output.

> 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