diff --git a/src/java/org/apache/commons/lang3/Validate.java b/src/java/org/apache/commons/lang3/Validate.java index 36672315b..1b9838a60 100644 --- a/src/java/org/apache/commons/lang3/Validate.java +++ b/src/java/org/apache/commons/lang3/Validate.java @@ -553,61 +553,61 @@ public class Validate { //--------------------------------------------------------------------------------- /** - *
Validate that the specified argument collection is neither + *
Validate that the specified argument iterable is neither
* null
nor contains any elements that are null
;
* otherwise throwing an exception with the specified message.
*
*
Validate.noNullElements(myCollection, "The collection contains null at position %d");* - *
If the collection is null
, then the message in the exception
+ *
If the iterable is null
, then the message in the exception
* is "The validated object is null".
If the collection has a null
element, then the iteration
+ *
If the iterable has a null
element, then the iteration
* index of the invalid element is appended to the values
* argument.
null
method for chaining)
+ * @param null
method for chaining)
* @throws NullPointerException if the array is null
* @throws IllegalArgumentException if an element is null
- * @see #noNullElements(Collection, String, Object...)
+ * @see #noNullElements(Iterable)
*/
- public static Validate that the specified argument collection is neither + *
Validate that the specified argument iterable is neither
* null
nor contains any elements that are null
;
* otherwise throwing an exception.
*
*
Validate.noNullElements(myCollection);* - *
If the collection is null
, then the message in the exception
+ *
If the iterable is null
, then the message in the exception
* is "The validated object is null".
If the array has a null
element, then the message in the
- * exception is "The validated collection contains null element at index:
+ * exception is "The validated iterable contains null element at index:
* " followed by the index.
null
method for chaining)
+ * @param null
method for chaining)
* @throws NullPointerException if the array is null
* @throws IllegalArgumentException if an element is null
* @see #noNullElements(Collection, String, Object...)
*/
- public static