commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39272] - [io] FileUtils needs a toString that takes a filename and returns its contents as a string
Date Sun, 16 Apr 2006 19:43:04 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39272>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39272


scolebourne@joda.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX




------- Additional Comments From scolebourne@joda.org  2006-04-16 19:43 -------
These two proposals seem like a bad idea.

1) FileUtils operates on Files. Thats why its named as is. File objects are just
a much more reliable way to hold and manage files.

2) Using a default encoding is bad practice. The default may vary between a
development PC and live Unix box. Also, UTF8 would be much preferred in most
situations.

There may be a separate call for methods that hard code the UTF8 encoding, but
thats a different call, and the methods would be named xxxUTF8().

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
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