You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Raul Acevedo (JIRA)" <ji...@apache.org> on 2007/02/07 20:42:07 UTC

[jira] Commented: (IO-113) FileUtils.readFileToString is not static

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

Raul Acevedo commented on IO-113:
---------------------------------

:)

No worries, I'm just surprised someone didn't catch this earlier.  Thanks!

> 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