commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r674219 - /commons/sandbox/compress/trunk/src/java/org/apache/commons/compress/archivers/tar/TarOutputStream.java
Date Sat, 05 Jul 2008 18:37:37 GMT
Author: bayard
Date: Sat Jul  5 11:37:37 2008
New Revision: 674219

URL: http://svn.apache.org/viewvc?rev=674219&view=rev
Log:
Replacing 'numToWrite -= numToWrite' with the semantically clearer 'numToWrite = 0'

Modified:
    commons/sandbox/compress/trunk/src/java/org/apache/commons/compress/archivers/tar/TarOutputStream.java

Modified: commons/sandbox/compress/trunk/src/java/org/apache/commons/compress/archivers/tar/TarOutputStream.java
URL: http://svn.apache.org/viewvc/commons/sandbox/compress/trunk/src/java/org/apache/commons/compress/archivers/tar/TarOutputStream.java?rev=674219&r1=674218&r2=674219&view=diff
==============================================================================
--- commons/sandbox/compress/trunk/src/java/org/apache/commons/compress/archivers/tar/TarOutputStream.java
(original)
+++ commons/sandbox/compress/trunk/src/java/org/apache/commons/compress/archivers/tar/TarOutputStream.java
Sat Jul  5 11:37:37 2008
@@ -375,7 +375,7 @@
 
                 position += numToWrite;
                 m_assemLen += numToWrite;
-                numToWrite -= numToWrite;
+                numToWrite = 0;
             }
         }
 



Mime
View raw message