[
https://issues.apache.org/jira/browse/IO-455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marco Brandizi updated IO-455:
------------------------------
Description:
org.apache.commons.io.input.ReaderInputStream doesn't override markSupported()
and mark(), which essentially means it doesn't support marking at all. That
doesn't seem necessary, since it could just delegate it to the base reader.
Indeed, I've discovered this problem while wrapping a StringReader (which
instead supports marking).
was:
org.apache.commons.io.input.ReaderInputStream doesn't override markSupported()
and mark(), which essentially means it doesn't support marking at all. That
doesn't seem necessary, since it could just delegate it to the base reader.
Indeed, I've discovered this problem while wrapping a StringReader (which
support marking).
> ReaderInputStream doesn't support marking
> ------------------------------------------
>
> Key: IO-455
> URL: https://issues.apache.org/jira/browse/IO-455
> Project: Commons IO
> Issue Type: Improvement
> Components: Streams/Writers
> Affects Versions: 2.4
> Reporter: Marco Brandizi
>
> org.apache.commons.io.input.ReaderInputStream doesn't override
> markSupported() and mark(), which essentially means it doesn't support
> marking at all. That doesn't seem necessary, since it could just delegate it
> to the base reader. Indeed, I've discovered this problem while wrapping a
> StringReader (which instead supports marking).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)