code: public Repository addRepository( String name,
                                       HttpServletRequest request ) {
          Repository repository = new Repository(name, request);
          repositories.add(repository);
          return repository;
      }
docs: Adds a repository to the list.
  
  @param name a {@code non-null} string, the name of the repository.
  @param request a {@link HttpServletRequest} instance
  @return a {@link Repository} instance.