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 1b3825067 Deprecate
CRC32VerifyingInputStream.CRC32VerifyingInputStream(InputStream, long, int)
1b3825067 is described below
commit 1b3825067bec74930901f03c80ed7a7487ee237f
Author: Gary Gregory <[email protected]>
AuthorDate: Thu Dec 28 10:44:00 2023 -0500
Deprecate
CRC32VerifyingInputStream.CRC32VerifyingInputStream(InputStream, long,
int)
No longer in use
---
src/changes/changes.xml | 1 +
.../org/apache/commons/compress/utils/CRC32VerifyingInputStream.java | 2 ++
2 files changed, 3 insertions(+)
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index c5fc299c8..c8a3b8616 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -62,6 +62,7 @@ The <action> type attribute can be add,update,fix,remove.
<action type="fix" dev="ggregory" due-to="alumi, Gary Gregory">Add a
null-check for the class loader of OsgiUtils #451.</action>
<action type="fix" dev="ggregory" due-to="alumi, Gary Gregory">Add a
null-check in Pack200.newInstance(String, String).</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Deprecate
ChecksumCalculatingInputStream in favor of
java.util.zip.CheckedInputStream.</action>
+ <action type="fix" dev="ggregory" due-to="Gary Gregory">Deprecate
CRC32VerifyingInputStream.CRC32VerifyingInputStream(InputStream, long,
int).</action>
<!-- UPDATE -->
<action type="update" dev="ggregory" due-to="Gary Gregory">Bump
commons-lang3 from 3.13.0 to 3.14.0.</action>
<action type="update" dev="ggregory" due-to="Dependabot">Bump
com.github.marschall:memoryfilesystem from 2.6.1 to 2.7.0 #444.</action>
diff --git
a/src/main/java/org/apache/commons/compress/utils/CRC32VerifyingInputStream.java
b/src/main/java/org/apache/commons/compress/utils/CRC32VerifyingInputStream.java
index 9e041d1f2..345519b56 100644
---
a/src/main/java/org/apache/commons/compress/utils/CRC32VerifyingInputStream.java
+++
b/src/main/java/org/apache/commons/compress/utils/CRC32VerifyingInputStream.java
@@ -33,7 +33,9 @@ public class CRC32VerifyingInputStream extends
ChecksumVerifyingInputStream {
* @param in the stream to wrap
* @param size the of the stream's content
* @param expectedCrc32 the expected checksum
+ * @deprecated No longer used.
*/
+ @Deprecated
public CRC32VerifyingInputStream(final InputStream in, final long size,
final int expectedCrc32) {
this(in, size, expectedCrc32 & 0xFFFFffffL);
}