garydgregory commented on code in PR #368:
URL: https://github.com/apache/commons-compress/pull/368#discussion_r1138651600


##########
src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveOutputStream.java:
##########
@@ -348,7 +348,7 @@ public void closeArchiveEntry() throws IOException {
                 + "' before the '" + currSize
                 + "' bytes specified in the header were written");
         }
-        recordsWritten = ExactMath.add(recordsWritten, (currSize / 
RECORD_SIZE));
+        recordsWritten += (currSize / RECORD_SIZE);
 

Review Comment:
   Remove useless parens.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to