You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Commented) (JIRA)" <ji...@apache.org> on 2012/04/03 19:26:24 UTC

[jira] [Commented] (CODEC-138) Complete FilterInputStream interface for BaseNCodecInputStream

    [ https://issues.apache.org/jira/browse/CODEC-138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13245518#comment-13245518 ] 

Gary D. Gregory commented on CODEC-138:
---------------------------------------

Wouldn't UnsupportedOperationException be better?
                
> 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