commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] Reopened: (IO-113) FileUtils.readFileToString is not static
Date Thu, 08 Feb 2007 16:59:06 GMT

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

Henri Yandell reopened IO-113:
------------------------------


We could keep the instance method and make it deprecated. That would keep it binary incompatible.

> 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


Mime
View raw message