This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-compress.git


The following commit(s) were added to refs/heads/master by this push:
     new 56cca1e3 Format tweak
56cca1e3 is described below

commit 56cca1e36825dcd8bce07e689ea838ac3dbe5066
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Mon Jun 6 11:17:15 2022 -0400

    Format tweak
---
 .../apache/commons/compress/archivers/tar/TarArchiveOutputStream.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveOutputStream.java
 
b/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveOutputStream.java
index 70b0c57d..0061b35a 100644
--- 
a/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveOutputStream.java
+++ 
b/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveOutputStream.java
@@ -221,7 +221,7 @@ public class TarArchiveOutputStream extends 
ArchiveOutputStream {
             realBlockSize = blockSize;
         }
 
-        if (realBlockSize <=0 || realBlockSize % RECORD_SIZE != 0) {
+        if (realBlockSize <= 0 || realBlockSize % RECORD_SIZE != 0) {
             throw new IllegalArgumentException("Block size must be a multiple 
of 512 bytes. Attempt to use set size of " + blockSize);
         }
         out = new FixedLengthBlockOutputStream(countingOut = new 
CountingOutputStream(os),

Reply via email to