Skip to content

Commit 8291220

Browse files
committed
IO-113 points out that readFileToString(File) was not static. *hits self*
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/io/trunk@504659 13f79535-47bb-0310-9956-ffa450edef68
1 parent 403949d commit 8291220

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/java/org/apache/commons/io/FileUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -975,7 +975,7 @@ public static String readFileToString(File file, String encoding) throws IOExcep
975975
* @throws IOException in case of an I/O error
976976
* @since Commons IO 1.3
977977
*/
978-
public String readFileToString(File file) throws IOException {
978+
public static String readFileToString(File file) throws IOException {
979979
return readFileToString(file, null);
980980
}
981981

0 commit comments

Comments
 (0)