code: public static <T> Collection<T> nullToEmpty(Collection<T> collection) {
          return collection == null ? Collections.<T>emptyList() : collection;
      }
docs: Returns an empty Collection if argument is null. *