public static <T> List<T> singletonList(final T item) {
        return item != null
                ? Collections.singletonList(item)
                : Collections.emptyList();
    }
Returns the passed value as a singleton list if non-null, else an empty list
stroom-util-shared/src/main/java/stroom/util/shared/NullSafe.java