Return-Path: Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 54885 invoked by uid 500); 22 Jul 2003 11:48:35 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 54862 invoked from network); 22 Jul 2003 11:48:34 -0000 Received: from dnsinet.rzf-nrw.de (193.109.238.66) by daedalus.apache.org with SMTP; 22 Jul 2003 11:48:34 -0000 Received: from z011104.bk.fin.local (z011104.bk.fin.local [193.109.238.140]) by dnsinet.rzf-nrw.de (8.12.9/8.12.9) with ESMTP id h6MBmVBT020852 for ; Tue, 22 Jul 2003 13:48:31 +0200 Received: by z011104.bk.fin.local with Internet Mail Service (5.5.2653.19) id <377KDJCN>; Tue, 22 Jul 2003 13:48:33 +0200 Message-ID: <879A5AD5DD0ED511891F0003473A9B5608FF6C92@Z011004> From: Jan.Materne@rzf.fin-nrw.de To: dev@ant.apache.org Subject: RE: cvs commit: ant/src/main/org/apache/tools/zip ZipOutputStream .java Date: Tue, 22 Jul 2003 13:48:32 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C35047.2D3C1C00" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C35047.2D3C1C00 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable > > /** > > + * Deflater object for output=20 > > + * > > + * @since 1.14 > > + */ > > + protected Deflater def =3D new Deflater(Deflater.DEFAULT_COMPRESSION, true); > > + =20 > > + /** > > + * Deflater buffer > > + * > > + * @since 1.14 > > + */ > > + protected byte[] buf =3D new byte[512]; >=20 > protected and not private (as checkstyle will certainly find out 8-). >=20 > 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. >=20 > Stefan I think that as a short java comment inside that code would be good. = Then future committers remind that and don=B4t modify the accessibility. Jan ------_=_NextPart_001_01C35047.2D3C1C00--