revert c1147524

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1147526 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Matthew Jason Benson 2011-07-17 05:16:30 +00:00
parent 4660e5159b
commit b46f9adc0b
1 changed files with 2 additions and 2 deletions

View File

@ -535,8 +535,8 @@ public class Validate {
* @throws IllegalArgumentException if an element is {@code null}
* @see #noNullElements(Object[], String, Object...)
*/
public static <T> T[] noNullElements(T... array) {
return Validate.<T> noNullElements((T[]) array, DEFAULT_NO_NULL_ELEMENTS_ARRAY_EX_MESSAGE);
public static <T> T[] noNullElements(T[] array) {
return noNullElements(array, DEFAULT_NO_NULL_ELEMENTS_ARRAY_EX_MESSAGE);
}
// noNullElements iterable