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 1a6e7cdb6 [COMPRESS-661] ArchiveInputStream markSupported should always return false 1a6e7cdb6 is described below commit 1a6e7cdb6408d823c7352f6a2455df9262955c87 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Tue Mar 5 10:04:40 2024 -0500 [COMPRESS-661] ArchiveInputStream markSupported should always return false --- .../org/apache/commons/compress/archivers/ArchiveInputStream.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/compress/archivers/ArchiveInputStream.java b/src/main/java/org/apache/commons/compress/archivers/ArchiveInputStream.java index 7546766f2..d5ebf6059 100644 --- a/src/main/java/org/apache/commons/compress/archivers/ArchiveInputStream.java +++ b/src/main/java/org/apache/commons/compress/archivers/ArchiveInputStream.java @@ -214,9 +214,11 @@ public abstract class ArchiveInputStream<E extends ArchiveEntry> extends FilterI * Does nothing. * * TODO [COMPRESS-670] Support mark() and reset() in ArchiveInputStream. + * + * @throws IOException not thrown here but may be thrown from a subclass. */ @Override - public synchronized void reset() { + public synchronized void reset() throws IOException { // noop } }