This is an automated email from the ASF dual-hosted git repository. garydgregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-compress.git
commit ed168806927e198490dd4ba00f5b2ed5c5f67c94 Author: Gary Gregory <[email protected]> AuthorDate: Tue Jul 14 13:32:10 2026 -0400 Remove extra parentheses --- .../java/org/apache/commons/compress/archivers/tar/TarUtilsTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/apache/commons/compress/archivers/tar/TarUtilsTest.java b/src/test/java/org/apache/commons/compress/archivers/tar/TarUtilsTest.java index 8da7f8e13..0689677f0 100644 --- a/src/test/java/org/apache/commons/compress/archivers/tar/TarUtilsTest.java +++ b/src/test/java/org/apache/commons/compress/archivers/tar/TarUtilsTest.java @@ -104,7 +104,7 @@ private static String createPosixLongNameByUtf8Bytes(final int totalBytes) { private static byte[] paddedUtf8Bytes(final String s) { final int blockSize = 1024; final byte[] bytes = s.getBytes(UTF_8); - return Arrays.copyOf(bytes, ((bytes.length + blockSize - 1) / blockSize) * blockSize); + return Arrays.copyOf(bytes, (bytes.length + blockSize - 1) / blockSize * blockSize); } private static Map<String, String> parsePaxHeaders(final byte[] data, final List<TarArchiveStructSparse> sparseHeaders,
