On 30/03/2009, Stefan Bodewig <bode...@apache.org> wrote:
> On 2009-03-30, sebb <seb...@gmail.com> wrote:
>
>  > The abstract parent class for archive output streams has the method
>
>  > putArchiveEntry(ArchiveEntry)
>
>  > but all the implementations - apart from Ar - also define the specific 
> method
>
>  > putNextEntry(xxxArchiveEntry) where xxx = Zip, Jar, etc.
>
>  > Do we really need the latter method?
>
>
> Not really.
>
>  I assume they are there because the original codebases already
>  contained them.  In ZIP's case that's because the original Ant code
>  tried to mimic java.util.ZipOutputStream.

OK, I'll remove them.

What about the corresponding getNextxxxEntry() methods?

I suppose they do avoid a cast.

>  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