You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2007/02/07 20:38:05 UTC
[jira] Closed: (IO-113) FileUtils.readFileToString is not static
[ https://issues.apache.org/jira/browse/IO-113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henri Yandell closed IO-113.
----------------------------
Resolution: Fixed
I'm a moron - thanks for reporting this Raul.
svn ci -m "IO-113 points out that readFileToString(File) was not static. *hits self*" src/
Sending src/java/org/apache/commons/io/FileUtils.java
Transmitting file data .
Committed revision 504659.
> FileUtils.readFileToString is not static
> ----------------------------------------
>
> Key: IO-113
> URL: https://issues.apache.org/jira/browse/IO-113
> Project: Commons IO
> Issue Type: Bug
> Components: Utilities
> Affects Versions: 1.3
> Reporter: Raul Acevedo
> Fix For: 1.4
>
>
> FileUtils.readFileToString isn't static. It should be; since the constructor for FileUtils says "Instances should NOT be constructed in standard programming", this makes readFileToString unusable. Right now I'm using FileUtils.readBytesToByteArray(file).toString().
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org