You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by oh...@apache.org on 2011/11/25 21:37:02 UTC
svn commit: r1206303 -
/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/tree/ConfigurationNode.java
Author: oheger
Date: Fri Nov 25 20:37:01 2011
New Revision: 1206303
URL: http://svn.apache.org/viewvc?rev=1206303&view=rev
Log:
Java 1.5 compatibility: raw types.
Modified:
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/tree/ConfigurationNode.java
Modified: commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/tree/ConfigurationNode.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/tree/ConfigurationNode.java?rev=1206303&r1=1206302&r2=1206303&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/tree/ConfigurationNode.java (original)
+++ commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/tree/ConfigurationNode.java Fri Nov 25 20:37:01 2011
@@ -106,7 +106,7 @@ public interface ConfigurationNode
*
* @return a list with the children of this node (never <b>null</b>)
*/
- List getChildren();
+ List<ConfigurationNode> getChildren();
/**
* Returns the number of this node's children.
@@ -121,7 +121,7 @@ public interface ConfigurationNode
* @param name the name of the searched children
* @return a list with all child nodes with this name (never <b>null</b>)
*/
- List getChildren(String name);
+ List<ConfigurationNode> getChildren(String name);
/**
* Returns the number of children with the given name.
@@ -176,11 +176,11 @@ public interface ConfigurationNode
/**
* Returns a list with this node's attributes. Attributes are also modeled
- * as <code>ConfigurationNode</code> objects.
+ * as {@code ConfigurationNode} objects.
*
* @return a list with the attributes
*/
- List getAttributes();
+ List<ConfigurationNode> getAttributes();
/**
* Returns the number of attributes of this node.
@@ -196,7 +196,7 @@ public interface ConfigurationNode
* @param name the name of the attribute
* @return the attribute nodes with this name (never <b>null</b>)
*/
- List getAttributes(String name);
+ List<ConfigurationNode> getAttributes(String name);
/**
* Returns the number of attributes with the given name.