Browse Source

protected

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@476570 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Reilly 18 years ago
parent
commit
10f0d8c806
2 changed files with 5 additions and 0 deletions
  1. +3
    -0
      src/main/org/apache/tools/tar/TarInputStream.java
  2. +2
    -0
      src/main/org/apache/tools/tar/TarOutputStream.java

+ 3
- 0
src/main/org/apache/tools/tar/TarInputStream.java View File

@@ -37,6 +37,7 @@ import java.io.OutputStream;
*/ */
public class TarInputStream extends FilterInputStream { public class TarInputStream extends FilterInputStream {


// CheckStyle:VisibilityModifier OFF - bc
protected boolean debug; protected boolean debug;
protected boolean hasHitEOF; protected boolean hasHitEOF;
protected long entrySize; protected long entrySize;
@@ -52,6 +53,8 @@ public class TarInputStream extends FilterInputStream {
*/ */
protected byte[] oneBuf; protected byte[] oneBuf;


// CheckStyle:VisibilityModifier ON

/** /**
* Constructor for TarInputStream. * Constructor for TarInputStream.
* @param is the input stream to use * @param is the input stream to use


+ 2
- 0
src/main/org/apache/tools/tar/TarOutputStream.java View File

@@ -43,6 +43,7 @@ public class TarOutputStream extends FilterOutputStream {
/** GNU tar extensions are used to store long file names in the archive. */ /** GNU tar extensions are used to store long file names in the archive. */
public static final int LONGFILE_GNU = 2; public static final int LONGFILE_GNU = 2;


// CheckStyle:VisibilityModifier OFF - bc
protected boolean debug; protected boolean debug;
protected long currSize; protected long currSize;
protected String currName; protected String currName;
@@ -53,6 +54,7 @@ public class TarOutputStream extends FilterOutputStream {
protected byte[] assemBuf; protected byte[] assemBuf;
protected TarBuffer buffer; protected TarBuffer buffer;
protected int longFileMode = LONGFILE_ERROR; protected int longFileMode = LONGFILE_ERROR;
// CheckStyle:VisibilityModifier ON


private boolean closed = false; private boolean closed = false;




Loading…
Cancel
Save