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 2d1b94ff3 [COMPRESS-659] TarArchiveOutputStream should use Commons IO 
Charsets instead of Commons Codec Charsets
2d1b94ff3 is described below

commit 2d1b94ff3f3d8c6c5bb25b5be0d4c8e0fdd73a4b
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Mon Feb 19 10:20:10 2024 -0500

    [COMPRESS-659] TarArchiveOutputStream should use Commons IO Charsets
    instead of Commons Codec Charsets
---
 src/changes/changes.xml                                                 | 2 ++
 .../apache/commons/compress/archivers/tar/TarArchiveOutputStream.java   | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 9c7dc3112..69804bd90 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -45,6 +45,8 @@ The <action> type attribute can be add,update,fix,remove.
   </properties>
   <body>
     <release version="1.26.1" date="2024-MM-DD" description="Minor feature and 
maintenance release.">
+      <!-- FIX -->
+      <action type="fix" issue="COMPRESS-659" dev="ggregory" due-to="David 
Handermann, Gary Gregory">TarArchiveOutputStream should use Commons IO Charsets 
instead of Commons Codec Charsets.</action>
     </release>
     <release version="1.26.0" date="2024-02-17" description="Minor feature and 
maintenance release.">
       <!-- FIX -->
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 97c7bb08d..bd449ed56 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
@@ -35,13 +35,13 @@ import java.util.Arrays;
 import java.util.HashMap;
 import java.util.Map;
 
-import org.apache.commons.codec.Charsets;
 import org.apache.commons.compress.archivers.ArchiveOutputStream;
 import org.apache.commons.compress.archivers.zip.ZipEncoding;
 import org.apache.commons.compress.archivers.zip.ZipEncodingHelper;
 import org.apache.commons.compress.utils.CharsetNames;
 import org.apache.commons.compress.utils.FixedLengthBlockOutputStream;
 import org.apache.commons.compress.utils.TimeUtils;
+import org.apache.commons.io.Charsets;
 import org.apache.commons.io.output.CountingOutputStream;
 
 /**

Reply via email to