Author: tn
Date: Wed Feb 20 16:47:18 2013
New Revision: 1448286
URL: http://svn.apache.org/r1448286
Log:
Add missing javadoc.
Modified:
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/math/NumberUtils.java
Modified:
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/math/NumberUtils.java
URL:
http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/math/NumberUtils.java?rev=1448286&r1=1448285&r2=1448286&view=diff
==============================================================================
---
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/math/NumberUtils.java
(original)
+++
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/math/NumberUtils.java
Wed Feb 20 16:47:18 2013
@@ -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");