You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2013/07/23 15:54:49 UTC

[jira] [Created] (COMPRESS-235) TarArchiveInputStream.reset() should be dropped

Sebb created COMPRESS-235:
-----------------------------

             Summary: TarArchiveInputStream.reset() should be dropped
                 Key: COMPRESS-235
                 URL: https://issues.apache.org/jira/browse/COMPRESS-235
             Project: Commons Compress
          Issue Type: Bug
          Components: Archivers
            Reporter: Sebb
            Priority: Minor


The method TarArchiveInputStream#reset() overrides the default in InputStream, and changes the behaviour to do nothing. 

Now InputStream#reset() throws IOException("mark/reset not supported") which seems better - otherwise there is no indication that the reset() has failed.

[Yes, I know users should check isMarkSupported(), but still]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira