public static <T> List<T> asList(final T... items) {
        return items == null || items.length == 0
                ? Collections.emptyList()
                : Arrays.asList(items);
    }
Returns the passed array of items or varargs items as a non-null list.
Allows null items in the list.

@return A non-null list of items. List should be assumed to be immutable.
stroom-util-shared/src/main/java/stroom/util/shared/NullSafe.java