Hi!

I have attached a patch that improves the Javadoc in ArrayUtils, ClassUtils and StringUtils a little bit.
Index: ArrayUtils.java
===================================================================
RCS file: 
/home/cvspublic/jakarta-commons/lang/src/java/org/apache/commons/lang/ArrayUtils.java,v
retrieving revision 1.1
diff -r1.1 ArrayUtils.java
399c399,400
<      * @param true if length of arrays matches, treating null as an empty array
---
>      * @return <code>true</code> if length of arrays matches, treating 
><code>null</code>
>      *          as an empty array
416c417,418
<      * @param true if length of arrays matches, treating null as an empty array
---
>      * @return <code>true</code> if length of arrays matches, treating 
><code>null</code>
>      *          as an empty array
433c435,436
<      * @param true if length of arrays matches, treating null as an empty array
---
>      * @return <code>true</code> if length of arrays matches, treating 
><code>null</code>
>      *          as an empty array
450,451c453,455
<      * @param true if length of arrays matches, treating null as an empty array
<      */    
---
>      * @return <code>true</code> if length of arrays matches, treating 
><code>null</code>
>      *          as an empty array
>      */
467,468c471,473
<      * @param true if length of arrays matches, treating null as an empty array
<      */    
---
>      * @return <code>true</code> if length of arrays matches, treating 
><code>null</code>
>      *          as an empty array
>      */
484,485c489,491
<      * @param true if length of arrays matches, treating null as an empty array
<      */    
---
>      * @return <code>true</code> if length of arrays matches, treating 
><code>null</code>
>      *          as an empty array
>      */
501,502c507,509
<      * @param true if length of arrays matches, treating null as an empty array
<      */    
---
>      * @return <code>true</code> if length of arrays matches, treating 
><code>null</code>
>      *          as an empty array
>      */
518,519c525,527
<      * @param true if length of arrays matches, treating null as an empty array
<      */    
---
>      * @return <code>true</code> if length of arrays matches, treating 
><code>null</code>
>      *          as an empty array
>      */
535c543
<      * @param true if type of arrays matches
---
>      * @return <code>true</code> if type of arrays matches
Index: ClassUtils.java
===================================================================
RCS file: 
/home/cvspublic/jakarta-commons/lang/src/java/org/apache/commons/lang/ClassUtils.java,v
retrieving revision 1.3
diff -r1.3 ClassUtils.java
59c59
< import java.util.ListIterator;
---
> 
298c298
<      * @param classes  the classNames to change, the class is stored back
---
>      * @param classNames  the classNames to change, the class is stored back
Index: StringUtils.java
===================================================================
RCS file: 
/home/cvspublic/jakarta-commons/lang/src/java/org/apache/commons/lang/StringUtils.java,v
retrieving revision 1.21
diff -r1.21 StringUtils.java
1527,1528c1527,1528
<      * Return either the passed in Object, or if it is <code>null</code>,
<      * then an empty String.
---
>      * Return either the passed in Object as a String, or if the Object is
>      * <code>null</code> an empty String.
1530c1530
<      * @param str the Object to check
---
>      * @param obj the Object to check
1538,1539c1538,1539
<      * Return either the passed in Object, or if it is <code>null</code>,
<      * then a passed in default String.
---
>      * Return either the passed in Object as a String, or if the Object is
>      * <code>null</code> the passed in default String.

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

Reply via email to