private void addRepository ( String repositoryId , RepositoryWrapper repositoryHolder ) { repositories . put ( repositoryId , repositoryHolder ) ; try { numRepos = getNumberOfRepositories ( ) ; } catch ( WIMException e ) { // okay } }
Pair adding to the repositories map and resetting the numRepos int .