src/main/java/com/zandero/utils/Assert.java
public static <T> void notNullOrEmpty(T[] array, String message) {

		isFalse(array == null || array.length == 0, message);
	}
public static <T> void notNullOrEmpty(T[] array, String message) {

		isFalse(array == null || array.length == 0, message);
	}
Tests if list is null or empty

@param array   must be have at least one element
@param message to return in exception
@param <T>     object type
@throws IllegalArgumentException if list == null or list.size() == 0