[
https://issues.apache.org/jira/browse/CODEC-138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13245570#comment-13245570
]
Sebb commented on CODEC-138:
----------------------------
Note: InputStream.reset() throws IOE so I think the patch is correct.
> Complete FilterInputStream interface for BaseNCodecInputStream
> --------------------------------------------------------------
>
> Key: CODEC-138
> URL: https://issues.apache.org/jira/browse/CODEC-138
> Project: Commons Codec
> Issue Type: Improvement
> Reporter: Thomas Neidhart
> Fix For: 1.7
>
> Attachments: CODEC-138.patch
>
>
> Small patch to implement mark and reset in a safe manner.
> markSupported is already implemented, but the other two methods are inherited
> from the default FilterInputStream implementation, which calls the
> corresponding methods of the underlying stream. The patch provides a noop
> implementation for mark, and throws an IOException when reset is called.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira