diff --git a/src/java/org/apache/commons/lang/ArrayUtils.java b/src/java/org/apache/commons/lang/ArrayUtils.java
index 06fe27b88..88f17eb34 100644
--- a/src/java/org/apache/commons/lang/ArrayUtils.java
+++ b/src/java/org/apache/commons/lang/ArrayUtils.java
@@ -64,7 +64,8 @@
*
* @author Stephen Colebourne
* @author Moritz Petersen
- * @version $Id: ArrayUtils.java,v 1.2 2002/11/14 22:29:25 scolebourne Exp $
+ * @author Fredrik Westermarck
+ * @version $Id: ArrayUtils.java,v 1.3 2002/11/15 00:25:45 scolebourne Exp $
*/
public class ArrayUtils {
@@ -397,7 +398,8 @@ public static boolean[] clone(boolean[] array) {
*
* @param array1 the first array, may be null
* @param array2 the second array, may be null
- * @param true if length of arrays matches, treating null
as an empty array
+ * @return true
if length of arrays matches, treating
+ * null
as an empty array
*/
public static boolean isSameLength(Object[] array1, Object[] array2) {
if ((array1 == null && array2 != null && array2.length > 0) ||
@@ -415,8 +417,9 @@ public static boolean isSameLength(Object[] array1, Object[] array2) {
*
* @param array1 the first array, may be null
* @param array2 the second array, may be null
- * @param true if length of arrays matches, treating null
as an empty array
- */
+ * @return true
if length of arrays matches, treating
+ * null
as an empty array
+ */
public static boolean isSameLength(long[] array1, long[] array2) {
if ((array1 == null && array2 != null && array2.length > 0) ||
(array2 == null && array1 != null && array1.length > 0) ||
@@ -433,8 +436,9 @@ public static boolean isSameLength(long[] array1, long[] array2) {
*
* @param array1 the first array, may be null
* @param array2 the second array, may be null
- * @param true if length of arrays matches, treating null
as an empty array
- */
+ * @return true
if length of arrays matches, treating
+ * null
as an empty array
+ */
public static boolean isSameLength(int[] array1, int[] array2) {
if ((array1 == null && array2 != null && array2.length > 0) ||
(array2 == null && array1 != null && array1.length > 0) ||
@@ -451,8 +455,9 @@ public static boolean isSameLength(int[] array1, int[] array2) {
*
* @param array1 the first array, may be null
* @param array2 the second array, may be null
- * @param true if length of arrays matches, treating null
as an empty array
- */
+ * @return true
if length of arrays matches, treating
+ * null
as an empty array
+ */
public static boolean isSameLength(short[] array1, short[] array2) {
if ((array1 == null && array2 != null && array2.length > 0) ||
(array2 == null && array1 != null && array1.length > 0) ||
@@ -469,8 +474,9 @@ public static boolean isSameLength(short[] array1, short[] array2) {
*
* @param array1 the first array, may be null
* @param array2 the second array, may be null
- * @param true if length of arrays matches, treating null
as an empty array
- */
+ * @return true
if length of arrays matches, treating
+ * null
as an empty array
+ */
public static boolean isSameLength(byte[] array1, byte[] array2) {
if ((array1 == null && array2 != null && array2.length > 0) ||
(array2 == null && array1 != null && array1.length > 0) ||
@@ -487,8 +493,9 @@ public static boolean isSameLength(byte[] array1, byte[] array2) {
*
* @param array1 the first array, may be null
* @param array2 the second array, may be null
- * @param true if length of arrays matches, treating null
as an empty array
- */
+ * @return true
if length of arrays matches, treating
+ * null
as an empty array
+ */
public static boolean isSameLength(double[] array1, double[] array2) {
if ((array1 == null && array2 != null && array2.length > 0) ||
(array2 == null && array1 != null && array1.length > 0) ||
@@ -505,8 +512,9 @@ public static boolean isSameLength(double[] array1, double[] array2) {
*
* @param array1 the first array, may be null
* @param array2 the second array, may be null
- * @param true if length of arrays matches, treating null
as an empty array
- */
+ * @return true
if length of arrays matches, treating
+ * null
as an empty array
+ */
public static boolean isSameLength(float[] array1, float[] array2) {
if ((array1 == null && array2 != null && array2.length > 0) ||
(array2 == null && array1 != null && array1.length > 0) ||
@@ -523,8 +531,9 @@ public static boolean isSameLength(float[] array1, float[] array2) {
*
* @param array1 the first array, may be null
* @param array2 the second array, may be null
- * @param true if length of arrays matches, treating null
as an empty array
- */
+ * @return true
if length of arrays matches, treating
+ * null
as an empty array
+ */
public static boolean isSameLength(boolean[] array1, boolean[] array2) {
if ((array1 == null && array2 != null && array2.length > 0) ||
(array2 == null && array1 != null && array1.length > 0) ||
@@ -540,7 +549,7 @@ public static boolean isSameLength(boolean[] array1, boolean[] array2) {
*
* @param array1 the first array, must not be null
* @param array2 the second array, must not be null
- * @param true if type of arrays matches
+ * @return true
if type of arrays matches
* @throws IllegalArgumentException if either array is null
*/
public static boolean isSameType(Object array1, Object array2) {
diff --git a/src/java/org/apache/commons/lang/StringUtils.java b/src/java/org/apache/commons/lang/StringUtils.java
index fd0368a1d..534deb41c 100644
--- a/src/java/org/apache/commons/lang/StringUtils.java
+++ b/src/java/org/apache/commons/lang/StringUtils.java
@@ -73,7 +73,7 @@
* @author Rand McNeely
* @author Stephen Colebourne
* @author Fredrik Westermarck
- * @version $Id: StringUtils.java,v 1.23 2002/11/15 00:06:40 scolebourne Exp $
+ * @version $Id: StringUtils.java,v 1.24 2002/11/15 00:25:45 scolebourne Exp $
*/
public class StringUtils {
@@ -1525,7 +1525,7 @@ public static boolean isTrue(String str) {
* Returns either the passed in Object as a String, or,
* if the Object is null
, an empty String.
*
- * @param str the Object to check
+ * @param obj the Object to check
* @return the passed in Object's toString, or blank if it was null
*/
public static String defaultString(Object obj) {