public static Collection checkNotEmpty()

in uber-core/src/main/java/com/uber/sdk/core/client/utils/Preconditions.java [96:99]


    public static <T> Collection<T> checkNotEmpty(Collection<T> collection, @Nonnull String errorMessage) {
        checkState(collection != null && !collection.isEmpty(), errorMessage);
        return collection;
    }