From a2bd6856c3c279f997f6b79365ea43af085b0f0c Mon Sep 17 00:00:00 2001 From: Peter Donald Date: Sat, 16 Mar 2002 04:10:47 +0000 Subject: [PATCH] Remove unused v7format variable and fixed up javadoc errors git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271863 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/java/org/apache/aut/tar/TarInputStream.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/proposal/myrmidon/src/java/org/apache/aut/tar/TarInputStream.java b/proposal/myrmidon/src/java/org/apache/aut/tar/TarInputStream.java index 8e4c420c3..06200d9f3 100644 --- a/proposal/myrmidon/src/java/org/apache/aut/tar/TarInputStream.java +++ b/proposal/myrmidon/src/java/org/apache/aut/tar/TarInputStream.java @@ -32,7 +32,6 @@ public class TarInputStream private boolean m_hasHitEOF; private byte[] m_oneBuf; private byte[] m_readBuf; - private boolean m_v7Format; public TarInputStream( final InputStream input ) { @@ -134,7 +133,7 @@ public class TarInputStream headerBuf[ 259 ] == 't' && headerBuf[ 260 ] == 'a' && headerBuf[ 261 ] == 'r' ) ) { - m_v7Format = true; + //Must be v7Format } if( m_debug ) @@ -207,7 +206,7 @@ public class TarInputStream * Copies the contents of the current tar archive entry directly into an * output stream. * - * @param out The OutputStream into which to write the entry's data. + * @param output The OutputStream into which to write the entry's data. * @exception IOException Description of Exception */ public void copyEntryContents( final OutputStream output ) @@ -270,7 +269,7 @@ public class TarInputStream * Reads bytes from the current tar archive entry. This method simply calls * read( byte[], int, int ). * - * @param buf The buffer into which to place bytes read. + * @param buffer The buffer into which to place bytes read. * @return The number of bytes read, or -1 at EOF. * @exception IOException Description of Exception */ @@ -285,7 +284,7 @@ public class TarInputStream * the boundaries of the current entry in the archive and will deal with * them as if they were this stream's start and EOF. * - * @param buf The buffer into which to place bytes read. + * @param buffer The buffer into which to place bytes read. * @param offset The offset at which to place bytes read. * @param count The number of bytes to read. * @return The number of bytes read, or -1 at EOF.