commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r1614975 - /commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/BaseHierarchicalConfiguration.java
Date Thu, 31 Jul 2014 20:03:49 GMT
Author: oheger
Date: Thu Jul 31 20:03:48 2014
New Revision: 1614975

URL: http://svn.apache.org/r1614975
Log:
Do not call setRoteNode() directly.

The method is going to be removed. The root note can be set via the model.

Modified:
    commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/BaseHierarchicalConfiguration.java

Modified: commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/BaseHierarchicalConfiguration.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/BaseHierarchicalConfiguration.java?rev=1614975&r1=1614974&r2=1614975&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/BaseHierarchicalConfiguration.java
(original)
+++ commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/BaseHierarchicalConfiguration.java
Thu Jul 31 20:03:48 2014
@@ -155,7 +155,7 @@ public class BaseHierarchicalConfigurati
                             return parent.getInterpolator();
                         }
                     };
-            result.setRootNode(createSubsetRootNode(results));
+            result.getModel().setRootNode(createSubsetRootNode(results));
 
             if (result.isEmpty())
             {



Mime
View raw message