question: private static void validateArray ( final Object array ) { if ( array == null ) { throw new IllegalArgumentException ( "The Array must not be null" ) ; } Validate . isTrue ( Array . getLength ( array ) != 0 , "Array cannot be empty." ) ; }
target:  Checks if the specified array is neither null nor empty.