code: public static <T> List<T> nullToEmpty(final List<T> list) {
          return list == null ? N.<T> emptyList() : list;
      }
docs: Returns an immutable empty list if the specified List is <code>null</code>, otherwise itself is returned.
  
  @param list
  @return