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] [Updated] (IO-493) Add infinite input stream
Date Thu, 01 Dec 2016 21:13:58 GMT

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

Pascal Schumacher updated IO-493:
---------------------------------
    Issue Type: New Feature  (was: Bug)

> Add infinite 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
>            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)

Mime
View raw message