From 99ff604efaee6c501efa62a910c0284f00761bec Mon Sep 17 00:00:00 2001 From: Thomas Neidhart Date: Wed, 20 Feb 2013 16:47:18 +0000 Subject: [PATCH] Add missing javadoc. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1448286 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/commons/lang3/math/NumberUtils.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/org/apache/commons/lang3/math/NumberUtils.java b/src/main/java/org/apache/commons/lang3/math/NumberUtils.java index 7d0f8af0d..24b5e48f1 100644 --- a/src/main/java/org/apache/commons/lang3/math/NumberUtils.java +++ b/src/main/java/org/apache/commons/lang3/math/NumberUtils.java @@ -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");