public static void notEmpty(Object[] array) {
        notEmpty(array, "[Assertion failed] - this array must not be empty: it must contain at least 1 element");
    }
Assert that an array has elements; that is, it must not be
<code>null</code> and must have at least one element.
<pre class="code">Assert.notEmpty(array);</pre>

@param array the array to check
@throws IllegalArgumentException if the object array is <code>null</code> or has no elements
lang/src/main/java/org/apache/shiro/lang/util/Assert.java