Author: bayard
Date: Wed Aug 3 05:29:21 2011
New Revision: 1153350
URL: http://svn.apache.org/viewvc?rev=1153350&view=rev
Log:
Fixing javadoc
Modified:
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ArrayUtils.java
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ObjectUtils.java
Modified:
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ArrayUtils.java
URL:
http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ArrayUtils.java?rev=1153350&r1=1153349&r2=1153350&view=diff
==============================================================================
---
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ArrayUtils.java
(original)
+++
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ArrayUtils.java
Wed Aug 3 05:29:21 2011
@@ -4988,8 +4988,9 @@ public class ArrayUtils {
* ArrayUtils.removeElements(["a", "b", "a"], "a", "a") = ["b"]
* </pre>
*
+ * @param <T> the component type of the array
* @param array the array to remove the element from, may be {@code null}
- * @param elements the elements to be removed
+ * @param values the elements to be removed
* @return A new array containing the existing elements except the
* earliest-encountered occurrences of the specified elements.
* @since 3.0.1
@@ -5043,7 +5044,6 @@ public class ArrayUtils {
* ArrayUtils.removeAll([2, 6, 3], 0, 1, 2) = []
* </pre>
*
- * @param <T> the component type of the array
* @param array the array to remove the element from, may not be {@code
null}
* @param indices the positions of the elements to be removed
* @return A new array containing the existing elements except those
@@ -5078,7 +5078,7 @@ public class ArrayUtils {
* </pre>
*
* @param array the array to remove the element from, may be {@code null}
- * @param elements the elements to be removed
+ * @param values the elements to be removed
* @return A new array containing the existing elements except the
* earliest-encountered occurrences of the specified elements.
* @since 3.0.1
@@ -5133,7 +5133,6 @@ public class ArrayUtils {
* ArrayUtils.removeAll([2, 6, 3], 0, 1, 2) = []
* </pre>
*
- * @param <T> the component type of the array
* @param array the array to remove the element from, may not be {@code
null}
* @param indices the positions of the elements to be removed
* @return A new array containing the existing elements except those
@@ -5168,7 +5167,7 @@ public class ArrayUtils {
* </pre>
*
* @param array the array to remove the element from, may be {@code null}
- * @param elements the elements to be removed
+ * @param values the elements to be removed
* @return A new array containing the existing elements except the
* earliest-encountered occurrences of the specified elements.
* @since 3.0.1
@@ -5223,7 +5222,6 @@ public class ArrayUtils {
* ArrayUtils.removeAll([2, 6, 3], 0, 1, 2) = []
* </pre>
*
- * @param <T> the component type of the array
* @param array the array to remove the element from, may not be {@code
null}
* @param indices the positions of the elements to be removed
* @return A new array containing the existing elements except those
@@ -5258,7 +5256,7 @@ public class ArrayUtils {
* </pre>
*
* @param array the array to remove the element from, may be {@code null}
- * @param elements the elements to be removed
+ * @param values the elements to be removed
* @return A new array containing the existing elements except the
* earliest-encountered occurrences of the specified elements.
* @since 3.0.1
@@ -5313,7 +5311,6 @@ public class ArrayUtils {
* ArrayUtils.removeAll([2, 6, 3], 0, 1, 2) = []
* </pre>
*
- * @param <T> the component type of the array
* @param array the array to remove the element from, may not be {@code
null}
* @param indices the positions of the elements to be removed
* @return A new array containing the existing elements except those
@@ -5348,7 +5345,7 @@ public class ArrayUtils {
* </pre>
*
* @param array the array to remove the element from, may be {@code null}
- * @param elements the elements to be removed
+ * @param values the elements to be removed
* @return A new array containing the existing elements except the
* earliest-encountered occurrences of the specified elements.
* @since 3.0.1
@@ -5403,7 +5400,6 @@ public class ArrayUtils {
* ArrayUtils.removeAll([2, 6, 3], 0, 1, 2) = []
* </pre>
*
- * @param <T> the component type of the array
* @param array the array to remove the element from, may not be {@code
null}
* @param indices the positions of the elements to be removed
* @return A new array containing the existing elements except those
@@ -5438,7 +5434,7 @@ public class ArrayUtils {
* </pre>
*
* @param array the array to remove the element from, may be {@code null}
- * @param elements the elements to be removed
+ * @param values the elements to be removed
* @return A new array containing the existing elements except the
* earliest-encountered occurrences of the specified elements.
* @since 3.0.1
@@ -5493,7 +5489,6 @@ public class ArrayUtils {
* ArrayUtils.removeAll([2, 6, 3], 0, 1, 2) = []
* </pre>
*
- * @param <T> the component type of the array
* @param array the array to remove the element from, may not be {@code
null}
* @param indices the positions of the elements to be removed
* @return A new array containing the existing elements except those
@@ -5528,7 +5523,7 @@ public class ArrayUtils {
* </pre>
*
* @param array the array to remove the element from, may be {@code null}
- * @param elements the elements to be removed
+ * @param values the elements to be removed
* @return A new array containing the existing elements except the
* earliest-encountered occurrences of the specified elements.
* @since 3.0.1
@@ -5583,7 +5578,6 @@ public class ArrayUtils {
* ArrayUtils.removeAll([2, 6, 3], 0, 1, 2) = []
* </pre>
*
- * @param <T> the component type of the array
* @param array the array to remove the element from, may not be {@code
null}
* @param indices the positions of the elements to be removed
* @return A new array containing the existing elements except those
@@ -5618,7 +5612,7 @@ public class ArrayUtils {
* </pre>
*
* @param array the array to remove the element from, may be {@code null}
- * @param elements the elements to be removed
+ * @param values the elements to be removed
* @return A new array containing the existing elements except the
* earliest-encountered occurrences of the specified elements.
* @since 3.0.1
@@ -5669,7 +5663,6 @@ public class ArrayUtils {
* ArrayUtils.removeAll([true, false, true], 1, 2) = [true]
* </pre>
*
- * @param <T> the component type of the array
* @param array the array to remove the element from, may not be {@code
null}
* @param indices the positions of the elements to be removed
* @return A new array containing the existing elements except those
@@ -5704,7 +5697,7 @@ public class ArrayUtils {
* </pre>
*
* @param array the array to remove the element from, may be {@code null}
- * @param elements the elements to be removed
+ * @param values the elements to be removed
* @return A new array containing the existing elements except the
* earliest-encountered occurrences of the specified elements.
* @since 3.0.1
Modified:
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ObjectUtils.java
URL:
http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ObjectUtils.java?rev=1153350&r1=1153349&r2=1153350&view=diff
==============================================================================
---
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ObjectUtils.java
(original)
+++
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ObjectUtils.java
Wed Aug 3 05:29:21 2011
@@ -463,7 +463,7 @@ public class ObjectUtils {
/**
* Find the most frequently occurring item.
*
- * @param <T>
+ * @param <T> type of values processed by this method
* @param items to check
* @return most populous T, {@code null} if non-unique or no items supplied
* @since 3.0.1