[ 
https://issues.apache.org/jira/browse/IO-793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17723738#comment-17723738
 ] 

Gary D. Gregory edited comment on IO-793 at 5/18/23 9:07 PM:
-------------------------------------------------------------

Yes and no. I initially created it in tests because it was only used for tests 
and forgot to move it to the main source tree after realizing that it could be 
generally useful. -I'll fix that for the next release.-

BUT, we already have a {{CharSequenceInputStream}}, so we do not need a 
{{StringInputStream}}, so it's not gone!


was (Author: garydgregory):
Yes and no. I initially created it in tests because it was only used for tests 
and forgot to move it to the main source tree after realizing that it could be 
generally useful. I'll fix that for the next release.

> StringInputStream.java should be in main source folder
> ------------------------------------------------------
>
>                 Key: IO-793
>                 URL: https://issues.apache.org/jira/browse/IO-793
>             Project: Commons IO
>          Issue Type: Bug
>          Components: Streams/Writers
>    Affects Versions: 2.12.0
>            Reporter: K P
>            Assignee: Gary D. Gregory
>            Priority: Minor
>             Fix For: 2.13.0
>
>
> In the change report of the new commons-io 2.12.0, I read:
> "Add StringInputStream"
> as a new feature.
> Now I went looking for it in the 2.12.0 javadoc and binary, and didn't find 
> it.
> However, I did find that source file in the "test" sources, instead of the 
> normal sources.
> [https://github.com/apache/commons-io/blob/master/src/test/java/org/apache/commons/io/input/StringInputStream.java]
> Is this intentional? If this is, then the change report is rather confusing. 
> If it's not intentional, then maybe this source was committed in the wrong 
> location or had to move to the normal sources?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to