docs: public Collection findCollection(final String title, final String contentType) {
          for (final Object element : collections) {
              final Collection col = (Collection) element;
              if (title != null && col.accepts(contentType)) {
                  return col;
              } else if (col.accepts(contentType)) {
                  return col;
              }
          }
          return null;
      }