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
commit bd8965469d4a58ac9cf9f08b11d5b61ffe1da41e Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Fri May 30 18:22:03 2025 -0400 // comment on one line --- .../org/apache/commons/compress/archivers/tar/TarArchiveEntry.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveEntry.java b/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveEntry.java index 4a61d615b..e5c3649af 100644 --- a/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveEntry.java +++ b/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveEntry.java @@ -1529,8 +1529,7 @@ private void parseTarHeaderUnwrapped(final Map<String, String> globalPaxHeaders, default: { final String prefix = oldStyle ? TarUtils.parseName(header, offset, PREFIXLEN) : TarUtils.parseName(header, offset, PREFIXLEN, encoding); offset += PREFIXLEN; // NOSONAR - assignment as documentation - // SunOS tar -E does not add / to directory names, so fix - // up to be consistent + // SunOS tar -E does not add / to directory names, so fix up to be consistent if (isDirectory() && !name.endsWith("/")) { name += "/"; }