From 813363aefca4ee4f498656720afbbc1c4dd55e15 Mon Sep 17 00:00:00 2001 From: Peter Donald Date: Sat, 16 Mar 2002 04:09:37 +0000 Subject: [PATCH] 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 --- .../java/org/apache/aut/tar/TarOutputStream.java | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/proposal/myrmidon/src/java/org/apache/aut/tar/TarOutputStream.java b/proposal/myrmidon/src/java/org/apache/aut/tar/TarOutputStream.java index a338919bc..dc86f1369 100644 --- a/proposal/myrmidon/src/java/org/apache/aut/tar/TarOutputStream.java +++ b/proposal/myrmidon/src/java/org/apache/aut/tar/TarOutputStream.java @@ -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