You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/11/14 15:14:01 UTC

(commons-compress) branch master updated: Deprecate SkipShieldingInputStream without replacement (no longer used)

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 ff35700a8 Deprecate SkipShieldingInputStream without replacement (no longer used)
ff35700a8 is described below

commit ff35700a8561fb9cc142b0e5338a8313effae6c2
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Nov 14 10:13:53 2023 -0500

    Deprecate SkipShieldingInputStream without replacement (no longer used)
---
 src/changes/changes.xml                                                 | 2 ++
 .../org/apache/commons/compress/utils/SkipShieldingInputStream.java     | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 6bc06c685..cbb884f26 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -45,8 +45,10 @@ The <action> type attribute can be add,update,fix,remove.
   </properties>
   <body>
     <release version="1.25.1" date="202Y-MM-DD" description="Minor feature and maintenance release.">
+      <!--  FIX -->
       <action type="fix" issue="COMPRESS-632" dev="ggregory" due-to="Yakov Shafranovich, Gary Gregory">Check for invalid PAX values in TarArchiveEntry #438.</action>
       <action type="fix" issue="COMPRESS-632" dev="ggregory" due-to="Yakov Shafranovich, Gary Gregory">Fix for zero size headers in ArjInputStream #439.</action>
+      <action type="fix" dev="ggregory" due-to="Gary Gregory">Deprecate SkipShieldingInputStream without replacement (no longer used).</action>
     </release> 
     <release version="1.25.0" date="2023-11-12" description="Minor feature and maintenance release.">
       <!-- ADD -->
diff --git a/src/main/java/org/apache/commons/compress/utils/SkipShieldingInputStream.java b/src/main/java/org/apache/commons/compress/utils/SkipShieldingInputStream.java
index b5a983ba6..cede60f26 100644
--- a/src/main/java/org/apache/commons/compress/utils/SkipShieldingInputStream.java
+++ b/src/main/java/org/apache/commons/compress/utils/SkipShieldingInputStream.java
@@ -34,7 +34,9 @@ import java.io.InputStream;
  * problems with {@code skip} throwing an exception.</p>
  *
  * @since 1.17
+ * @deprecated No longer used.
  */
+@Deprecated
 public class SkipShieldingInputStream extends FilterInputStream {
     private static final int SKIP_BUFFER_SIZE = 8192;
     // we can use a shared buffer as the content is discarded anyway