On 22 Jul 2003, <[EMAIL PROTECTED]> wrote:

>        /**
>   +     * Deflater object for output 
>   +     *
>   +     * @since 1.14
>   +     */
>   +    protected Deflater def = new Deflater(Deflater.DEFAULT_COMPRESSION, 
> true);
>   +    
>   +    /**
>   +     * Deflater buffer
>   +     *
>   +     * @since 1.14
>   +     */
>   +    protected byte[] buf = new byte[512];

protected and not private (as checkstyle will certainly find out 8-).

The reason for this is that ZipOutputStream used to extend
java.util.zip.DeflaterOutputStream which has those two protected
members.  It now extends FilterOutputStream directly and this will
provide a certain level of API compatibility.  I'm not sure that we
really want to go that far.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to