On 30/03/2009, Stefan Bodewig <[email protected]> wrote: > On 2009-03-30, sebb <[email protected]> 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: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
