code: static <T> Collection<T> freeze(Collection<T> coll) {
          return coll == null ? null : Collections.unmodifiableCollection(coll);
      }
docs: Ensure a collection is unmodifiable, but cope with <code>null</code> too