You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Piotr Turski (JIRA)" <ji...@apache.org> on 2016/01/02 23:00:40 UTC

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

Piotr Turski created IO-493:
-------------------------------

             Summary: Add infinite input stream
                 Key: IO-493
                 URL: https://issues.apache.org/jira/browse/IO-493
             Project: Commons IO
          Issue Type: Bug
          Components: Streams/Writers
    Affects Versions: 2.4
            Reporter: Piotr Turski
            Priority: Trivial


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)