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 52652ea7b Don't use deprecated API 52652ea7b is described below commit 52652ea7b11c73e6ccd73f240349816f8ec44ef0 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sun Jan 14 16:10:49 2024 -0500 Don't use deprecated API --- src/main/java/org/apache/commons/compress/utils/IOUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/compress/utils/IOUtils.java b/src/main/java/org/apache/commons/compress/utils/IOUtils.java index 5df258043..3751525c0 100644 --- a/src/main/java/org/apache/commons/compress/utils/IOUtils.java +++ b/src/main/java/org/apache/commons/compress/utils/IOUtils.java @@ -237,7 +237,7 @@ public final class IOUtils { */ public static byte[] readRange(final InputStream input, final int len) throws IOException { final ByteArrayOutputStream output = new ByteArrayOutputStream(); - copyRange(input, len, output); + org.apache.commons.io.IOUtils.copyLarge(input, output, 0, len); return output.toByteArray(); }