commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r425513 - /jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/HierarchicalConfiguration.java
Date Tue, 25 Jul 2006 20:29:14 GMT
Author: oheger
Date: Tue Jul 25 13:29:14 2006
New Revision: 425513

URL: http://svn.apache.org/viewvc?rev=425513&view=rev
Log:
Re-added addChild(Node) method to HierarchicalConfiguration.Node; its removal was a binary
incompatible change that was detected by clirr.

Modified:
    jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/HierarchicalConfiguration.java

Modified: jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/HierarchicalConfiguration.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/HierarchicalConfiguration.java?rev=425513&r1=425512&r2=425513&view=diff
==============================================================================
--- jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/HierarchicalConfiguration.java
(original)
+++ jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/HierarchicalConfiguration.java
Tue Jul 25 13:29:14 2006
@@ -424,7 +424,7 @@
      * <code>SubnodeConfiguration</code> class to obtain further information
      * about subnode configurations and when they should be used.
      * </p>
-     * 
+     *
      * @param key the key that selects the sub tree
      * @return a hierarchical configuration that contains this sub tree
      * @see SubnodeConfiguration
@@ -974,6 +974,16 @@
         public void setParent(Node node)
         {
             setParentNode(node);
+        }
+
+        /**
+         * Adds the given node to the children of this node.
+         *
+         * @param node the child to be added
+         */
+        public void addChild(Node node)
+        {
+            addChild((ConfigurationNode) node);
         }
 
         /**



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message