commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Piotr Turski (JIRA)" <>
Subject [jira] [Created] (IO-493) Add infinite input stream
Date Sat, 02 Jan 2016 22:00:40 GMT
Piotr Turski created IO-493:

             Summary: Add infinite input stream
                 Key: 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|]

This message was sent by Atlassian JIRA

View raw message