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 afb9706a7 Remove ZstdCompressorOutputStream.toString(), it was misleading by returning the delegate's toString() afb9706a7 is described below commit afb9706a724d894f4a429a7b4ca185c3c92dd980 Author: Gary D. Gregory <garydgreg...@gmail.com> AuthorDate: Mon Dec 16 15:42:07 2024 -0500 Remove ZstdCompressorOutputStream.toString(), it was misleading by returning the delegate's toString() --- src/changes/changes.xml | 3 ++- .../compress/compressors/zstandard/ZstdCompressorOutputStream.java | 5 ----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 9bce65f4d..2d27634ad 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -76,7 +76,8 @@ The <action> type attribute can be add,update,fix,remove. <action type="update" dev="ggregory" due-to="Dependabot, Gary Gregory">Bump com.github.marschall:memoryfilesystem from 2.8.0 to 2.8.1 #577.</action> <action type="update" dev="ggregory" due-to="Dependabot, Gary Gregory">Bump org.ow2.asm:asm from 9.7 to 9.7.1 #586.</action> <!-- REMOVE --> - <action type="remove" dev="ggregory" issue="COMPRESS-638" due-to="vincexjl, Gary Gregory, Piotr P. Karwasz">GzipCompressorOutputStream no longer percent-endcodes in US-ASCII a file name or comment that the Charset in GzipParameters.setFileNameCharset(Charset) cannot encode.</action> + <action type="remove" dev="ggregory" issue="COMPRESS-638" due-to="vincexjl, Gary Gregory, Piotr P. Karwasz">GzipCompressorOutputStream no longer percent-endcodes in US-ASCII a file name or comment that the Charset in GzipParameters.setFileNameCharset(Charset) cannot encode.</action> + <action type="update" dev="ggregory" due-to="Gary Gregory">Remove ZstdCompressorOutputStream.toString(), it was misleading by returning the delegate's toString().</action> </release> <release version="1.27.1" date="2024-08-16" description="This is a feature and maintenance release. Java 8 or later is required."> <action type="fix" issue="COMPRESS-686" dev="ggregory" due-to="Richard Blank, Gary Gregory">Compression into BZip2 format has unexpected end of file when using a BufferedOutputStream.</action> diff --git a/src/main/java/org/apache/commons/compress/compressors/zstandard/ZstdCompressorOutputStream.java b/src/main/java/org/apache/commons/compress/compressors/zstandard/ZstdCompressorOutputStream.java index 9f191ed78..b98321ce2 100644 --- a/src/main/java/org/apache/commons/compress/compressors/zstandard/ZstdCompressorOutputStream.java +++ b/src/main/java/org/apache/commons/compress/compressors/zstandard/ZstdCompressorOutputStream.java @@ -91,11 +91,6 @@ public class ZstdCompressorOutputStream extends CompressorOutputStream<ZstdOutpu .setChecksum(useChecksum); } - @Override - public String toString() { - return out.toString(); - } - @Override public void write(final byte[] buf, final int off, final int len) throws IOException { out.write(buf, off, len);