Skip to content

Commit 90bce82

Browse files
committed
[IO-324] Add Charset sister APIs to method that take a String charset name.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/io/trunk@1326612 13f79535-47bb-0310-9956-ffa450edef68
1 parent 2b3e2f7 commit 90bce82

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/java/org/apache/commons/io/FileUtilsTestCase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1545,7 +1545,7 @@ public void testWriteStringToFile1() throws Exception {
15451545

15461546
public void testWriteStringToFile2() throws Exception {
15471547
File file = new File(getTestDirectory(), "write.txt");
1548-
FileUtils.writeStringToFile(file, "Hello /u1234", null);
1548+
FileUtils.writeStringToFile(file, "Hello /u1234", (String)null);
15491549
byte[] text = "Hello /u1234".getBytes();
15501550
assertEqualContent(text, file);
15511551
}

0 commit comments

Comments
 (0)