[
https://issues.apache.org/jira/browse/IO-113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12471461
]
Henri Yandell commented on IO-113:
----------------------------------
For tools that don't allow static invocation. Velocity was the main reason why
we add an empty constructor with warnings not to use it to each XxxUtils class
we have.
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]