docs: private void addRepository(String repositoryId, RepositoryWrapper repositoryHolder) {
          repositories.put(repositoryId, repositoryHolder);
          try {
              numRepos = getNumberOfRepositories();
          } catch (WIMException e) {
              // okay
          }
      }