Author: oheger
Date: Fri May 28 20:20:51 2010
New Revision: 949281

URL: http://svn.apache.org/viewvc?rev=949281&view=rev
Log:
Now we are on JDK 1.4, we can use File.toURI().toURL().

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

Modified: 
commons/proper/configuration/trunk/src/test/org/apache/commons/configuration/TestPropertiesConfiguration.java
URL: 
http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/test/org/apache/commons/configuration/TestPropertiesConfiguration.java?rev=949281&r1=949280&r2=949281&view=diff
==============================================================================
--- 
commons/proper/configuration/trunk/src/test/org/apache/commons/configuration/TestPropertiesConfiguration.java
 (original)
+++ 
commons/proper/configuration/trunk/src/test/org/apache/commons/configuration/TestPropertiesConfiguration.java
 Fri May 28 20:20:51 2010
@@ -262,7 +262,8 @@ public class TestPropertiesConfiguration
     public void testSaveWithBasePath() throws Exception
     {
         conf.setProperty("test", "true");
-        
conf.setBasePath(testSavePropertiesFile.getParentFile().toURL().toString());
+        conf.setBasePath(testSavePropertiesFile.getParentFile().toURI().toURL()
+                .toString());
         conf.setFileName(testSavePropertiesFile.getName());
         conf.save();
         assertTrue(testSavePropertiesFile.exists());


Reply via email to