Author: oheger Date: Tue Apr 2 19:03:39 2013 New Revision: 1463682 URL: http://svn.apache.org/r1463682 Log: Changed test class: Only use methods from FileBased interface to load and save XMLConfiguration objects.
Modified: commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/TestNullCompositeConfiguration.java Modified: commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/TestNullCompositeConfiguration.java URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/TestNullCompositeConfiguration.java?rev=1463682&r1=1463681&r2=1463682&view=diff ============================================================================== --- commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/TestNullCompositeConfiguration.java (original) +++ commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/TestNullCompositeConfiguration.java Tue Apr 2 19:03:39 2013 @@ -61,7 +61,9 @@ public class TestNullCompositeConfigurat FileHandler handler2 = new FileHandler(conf2); handler2.setFileName(testProperties2); handler2.load(); - xmlConf = new XMLConfiguration(new File(testPropertiesXML)); + xmlConf = new XMLConfiguration(); + FileHandler handler3 = new FileHandler(xmlConf); + handler3.load(new File(testPropertiesXML)); cc.setThrowExceptionOnMissing(false); }