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 4c2093e27 Remove exception from internal method signature 4c2093e27 is described below commit 4c2093e274e5b47213bfa77e41c97cc75989d8d1 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Tue Oct 8 10:23:33 2024 -0400 Remove exception from internal method signature --- .../compress/archivers/tar/TarArchiveSparseZeroInputStream.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveSparseZeroInputStream.java b/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveSparseZeroInputStream.java index ebc072551..8fa3767c3 100644 --- a/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveSparseZeroInputStream.java +++ b/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveSparseZeroInputStream.java @@ -16,7 +16,6 @@ */ package org.apache.commons.compress.archivers.tar; -import java.io.IOException; import java.io.InputStream; /** @@ -27,11 +26,10 @@ final class TarArchiveSparseZeroInputStream extends InputStream { /** * Returns 0. * - * @return 0 - * @throws IOException + * @return 0. */ @Override - public int read() throws IOException { + public int read() { return 0; }