You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by oh...@apache.org on 2006/07/25 22:29:14 UTC
svn commit: r425513 -
/jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/HierarchicalConfiguration.java
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