commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgo...@apache.org
Subject svn commit: r1327061 - /commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/TestCombinedConfiguration.java
Date Tue, 17 Apr 2012 12:18:27 GMT
Author: rgoers
Date: Tue Apr 17 12:18:27 2012
New Revision: 1327061

URL: http://svn.apache.org/viewvc?rev=1327061&view=rev
Log:
Correct error found by Gump due to change in Junit

Modified:
    commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/TestCombinedConfiguration.java

Modified: commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/TestCombinedConfiguration.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/TestCombinedConfiguration.java?rev=1327061&r1=1327060&r2=1327061&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/TestCombinedConfiguration.java
(original)
+++ commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/TestCombinedConfiguration.java
Tue Apr 17 12:18:27 2012
@@ -924,7 +924,7 @@ public class TestCombinedConfiguration
      */
     private File writeFile(String fileName, String content) throws IOException
     {
-        File file = folder.newFile(fileName);
+        File file = new File(folder.getRoot(), fileName);
         writeFile(file, content);
         return file;
     }



Mime
View raw message