On 18 April 2011 06:22, Stefan Bodewig <[email protected]> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to