commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1326612 - /commons/proper/io/trunk/src/test/java/org/apache/commons/io/FileUtilsTestCase.java
Date Mon, 16 Apr 2012 13:35:10 GMT
Author: ggregory
Date: Mon Apr 16 13:35:10 2012
New Revision: 1326612

URL: http://svn.apache.org/viewvc?rev=1326612&view=rev
Log:
[IO-324] Add Charset sister APIs to method that take a String charset name.

Modified:
    commons/proper/io/trunk/src/test/java/org/apache/commons/io/FileUtilsTestCase.java

Modified: commons/proper/io/trunk/src/test/java/org/apache/commons/io/FileUtilsTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/java/org/apache/commons/io/FileUtilsTestCase.java?rev=1326612&r1=1326611&r2=1326612&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/java/org/apache/commons/io/FileUtilsTestCase.java (original)
+++ commons/proper/io/trunk/src/test/java/org/apache/commons/io/FileUtilsTestCase.java Mon
Apr 16 13:35:10 2012
@@ -1545,7 +1545,7 @@ public class FileUtilsTestCase extends F
 
     public void testWriteStringToFile2() throws Exception {
         File file = new File(getTestDirectory(), "write.txt");
-        FileUtils.writeStringToFile(file, "Hello /u1234", null);
+        FileUtils.writeStringToFile(file, "Hello /u1234", (String)null);
         byte[] text = "Hello /u1234".getBytes();
         assertEqualContent(text, file);
     }



Mime
View raw message