You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Pascal Schumacher (JIRA)" <ji...@apache.org> on 2016/12/01 21:45:59 UTC

[jira] [Resolved] (IO-493) Add infinite circular input stream

     [ 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)