Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
2.5
-
None
-
None
Description
Since 2.5 FileUtils.readFileToString(File) is deprecated. readFileToString(File, Charset) should be used instead.
The javadoc of readFileToString(File, Charset) says that, if the charset is null, the platform default charset will be used.
But I cannot use readFileToString(File, null) to get that behaviour, since there also is readFileToString(File, String), so that readFileToString(File, null) is ambiguous.