leosutic 2003/02/04 01:16:43
Modified: src/java/org/apache/avalon/framework/configuration
DefaultConfiguration.java
Log:
Fixed a missing end tag, and replaced "Iterator" with "array" when a method
returned an array (Configuration[]) but the Javadoc was saying Iterator or
Enumeration.
Revision Changes Path
1.27 +3 -3
jakarta-avalon/src/java/org/apache/avalon/framework/configuration/DefaultConfiguration.java
Index: DefaultConfiguration.java
===================================================================
RCS file:
/home/cvs/jakarta-avalon/src/java/org/apache/avalon/framework/configuration/DefaultConfiguration.java,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- DefaultConfiguration.java 23 Nov 2002 08:58:58 -0000 1.26
+++ DefaultConfiguration.java 4 Feb 2003 09:16:43 -0000 1.27
@@ -236,7 +236,7 @@
}
/**
- * Return an <code>Iterator</code> of <code>Configuration<code>
+ * Return an array of <code>Configuration</code>
* elements containing all node children.
*
* @return The child nodes with name
@@ -312,10 +312,10 @@
}
/**
- * Return an <code>Enumeration</code> of <code>Configuration</code> objects
+ * Return an array of <code>Configuration</code> objects
* children of this associated with the given name.
* <br>
- * The returned <code>Enumeration</code> may be empty.
+ * The returned array may be empty but is never <code>null</code>.
*
* @param name The name of the required children <code>Configuration</code>.
* @return a <code>Configuration[]</code> value
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]