Browse Source

Add comments as suggested by Jan

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274885 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 22 years ago
parent
commit
9f66d99a5d
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      src/main/org/apache/tools/zip/ZipOutputStream.java

+ 10
- 0
src/main/org/apache/tools/zip/ZipOutputStream.java View File

@@ -214,6 +214,11 @@ public class ZipOutputStream extends FilterOutputStream {
/**
* Deflater object for output
*
* <p>This attribute is only protected to provide a level of API
* backwards compatibility. This class used to extend {@link
* java.util.zip.DeflaterOutputStream DeflaterOutputStream} up to
* Revision 1.13.</p>
*
* @since 1.14
*/
protected Deflater def = new Deflater(Deflater.DEFAULT_COMPRESSION, true);
@@ -221,6 +226,11 @@ public class ZipOutputStream extends FilterOutputStream {
/**
* Deflater buffer
*
* <p>This attribute is only protected to provide a level of API
* backwards compatibility. This class used to extend {@link
* java.util.zip.DeflaterOutputStream DeflaterOutputStream} up to
* Revision 1.13.</p>
*
* @since 1.14
*/
protected byte[] buf = new byte[512];


Loading…
Cancel
Save