Add missing javadoc.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1448286 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Thomas Neidhart 2013-02-20 16:47:18 +00:00
parent 4b1f73c0b9
commit 99ff604efa
1 changed files with 6 additions and 0 deletions

View File

@ -1051,6 +1051,12 @@ public class NumberUtils {
return max;
}
/**
* Checks if the specified array is neither null nor empty.
*
* @param array the array to check
* @throws IllegalArgumentException if {@code array} is either {@code null} or empty
*/
private static void validateArray(final Object array) {
if (array == null) {
throw new IllegalArgumentException("The Array must not be null");