commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pascal Schumacher (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (IO-493) Add infinite circular input stream
Date Thu, 01 Dec 2016 21:45:59 GMT

     [ https://issues.apache.org/jira/browse/IO-493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Pascal Schumacher resolved IO-493.
----------------------------------
       Resolution: Fixed
         Assignee: Pascal Schumacher
    Fix Version/s: 2.6

> Add infinite circular input stream
> ----------------------------------
>
>                 Key: IO-493
>                 URL: https://issues.apache.org/jira/browse/IO-493
>             Project: Commons IO
>          Issue Type: New Feature
>          Components: Streams/Writers
>            Reporter: Piotr Turski
>            Assignee: Pascal Schumacher
>            Priority: Trivial
>             Fix For: 2.6
>
>
> it would be useful to have infinite streams. for example to test how your code behaves
with too long input, can it stop reading input before it ends etc. 
> Probably in most cases same thing can be done using finite stream that is long enough
but it's easier to write and maintain code using an infinite stream rather than calculate
after each code change how long input is required
> Created [pull request 8|https://github.com/apache/commons-io/pull/8]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message