commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgo...@apache.org
Subject svn commit: r990298 - in /commons/proper/configuration/branches/configuration2_experimental/src: changes/changes.xml test/java/org/apache/commons/configuration2/reloading/TestFileChangedReloadingStrategy.java
Date Fri, 27 Aug 2010 23:16:18 GMT
Author: rgoers
Date: Fri Aug 27 23:16:18 2010
New Revision: 990298

URL: http://svn.apache.org/viewvc?rev=990298&view=rev
Log:
Apply patch for CONFIGURATION-423

Modified:
    commons/proper/configuration/branches/configuration2_experimental/src/changes/changes.xml
    commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration2/reloading/TestFileChangedReloadingStrategy.java

Modified: commons/proper/configuration/branches/configuration2_experimental/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/commons/proper/configuration/branches/configuration2_experimental/src/changes/changes.xml?rev=990298&r1=990297&r2=990298&view=diff
==============================================================================
--- commons/proper/configuration/branches/configuration2_experimental/src/changes/changes.xml
(original)
+++ commons/proper/configuration/branches/configuration2_experimental/src/changes/changes.xml
Fri Aug 27 23:16:18 2010
@@ -79,6 +79,10 @@
     </release>
 
     <release version="1.7" date="in SVN" description="">
+      <action dev="rgoers" type="fix" issue="CONFIGURATION-423" due-to="william_buckley@intuit.com">
+        testFromClassPath() can fail when it should not because of inconsistent escaping
of output from
+        PropertiesConfiguration.getURL() and FileChangedReloadingStrategy.getFile().toURL().
+      </action>
       <action dev="oheger" type="fix" issue="CONFIGURATION-418">
         A bug related to the interpretation of escape sequences for backslashes
         has been fixed. The user guide has also been improved in this area.

Modified: commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration2/reloading/TestFileChangedReloadingStrategy.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration2/reloading/TestFileChangedReloadingStrategy.java?rev=990298&r1=990297&r2=990298&view=diff
==============================================================================
--- commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration2/reloading/TestFileChangedReloadingStrategy.java
(original)
+++ commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration2/reloading/TestFileChangedReloadingStrategy.java
Fri Aug 27 23:16:18 2010
@@ -122,7 +122,7 @@ public class TestFileChangedReloadingStr
         assertTrue(config.getBoolean("configuration.loaded"));
         FileChangedReloadingStrategy strategy = new FileChangedReloadingStrategy();
         config.setReloadingStrategy(strategy);
-        assertEquals(config.getURL(), strategy.getFile().toURL());
+        assertEquals(config.getURL().toString(), strategy.getFile().toURI().toString());
     }
 
     /**



Mime
View raw message