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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to