Browse Source

Remove unused debug variable and fixed up javadoc errors

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271862 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Donald 24 years ago
parent
commit
813363aefc
1 changed files with 1 additions and 13 deletions
  1. +1
    -13
      proposal/myrmidon/src/java/org/apache/aut/tar/TarOutputStream.java

+ 1
- 13
proposal/myrmidon/src/java/org/apache/aut/tar/TarOutputStream.java View File

@@ -33,7 +33,6 @@ public class TarOutputStream
private int m_currBytes;
private int m_currSize;

private boolean m_debug;
private byte[] m_oneBuf;
private byte[] m_recordBuf;

@@ -54,7 +53,6 @@ public class TarOutputStream
super( output );

m_buffer = new TarBuffer( output, blockSize, recordSize );
m_debug = false;
m_assemLen = 0;
m_assemBuf = new byte[ recordSize ];
m_recordBuf = new byte[ recordSize ];
@@ -71,16 +69,6 @@ public class TarOutputStream
m_buffer.setDebug( debug );
}

/**
* Sets the debugging flag.
*
* @param debugF True to turn on debugging.
*/
public void setDebug( boolean debug )
{
m_debug = debug;
}

public void setLongFileMode( final int longFileMode )
{
m_longFileMode = longFileMode;
@@ -228,7 +216,7 @@ public class TarOutputStream
* Writes bytes to the current tar archive entry. This method simply calls
* write( byte[], int, int ).
*
* @param wBuf The buffer to write to the archive.
* @param buffer The buffer to write to the archive.
*/
public void write( final byte[] buffer )
throws IOException


Loading…
Cancel
Save