[jira] [Commented] (IO-486) FileUtils.readFileToString() can immediately return empty string if file length is zero

2015-11-09 Thread Viktor Isaev (JIRA)
[ https://issues.apache.org/jira/browse/IO-486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14996638#comment-14996638 ] Viktor Isaev commented on IO-486: - I'm not speaking against short-circuit in {{IOUtils.toByteArray()}} - I'm

[jira] [Commented] (IO-486) FileUtils.readFileToString() can immediately return empty string if file length is zero

2015-11-09 Thread Viktor Isaev (JIRA)
[ https://issues.apache.org/jira/browse/IO-486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14996709#comment-14996709 ] Viktor Isaev commented on IO-486: - Great! Then, I guess, this can be closed too. Thanks a lot, Sebb! >

[jira] [Commented] (IO-486) FileUtils.readFileToString() can immediately return empty string if file length is zero

2015-11-09 Thread Viktor Isaev (JIRA)
[ https://issues.apache.org/jira/browse/IO-486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14996199#comment-14996199 ] Viktor Isaev commented on IO-486: - OK, Sebb, I see your point. But then, if so,

[jira] [Created] (IO-486) FileUtils.readFileToString() can immediately return empty string if file length is zero

2015-11-06 Thread Viktor Isaev (JIRA)
Viktor Isaev created IO-486: --- Summary: FileUtils.readFileToString() can immediately return empty string if file length is zero Key: IO-486 URL: https://issues.apache.org/jira/browse/IO-486 Project: Commons