protected void clearUniqueFindersCache(SVNRepository svnRepository) {
    SVNRepositoryModelImpl svnRepositoryModelImpl = (SVNRepositoryModelImpl) svnRepository;

    Object[] args = new Object[] {svnRepository.getUrl()};

    FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_URL, args);
    FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_URL, args);

    if ((svnRepositoryModelImpl.getColumnBitmask() & FINDER_PATH_FETCH_BY_URL.getColumnBitmask())
        != 0) {
      args = new Object[] {svnRepositoryModelImpl.getOriginalUrl()};

      FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_URL, args);
      FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_URL, args);
    }
  }
  protected void cacheUniqueFindersCache(SVNRepository svnRepository) {
    if (svnRepository.isNew()) {
      Object[] args = new Object[] {svnRepository.getUrl()};

      FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_URL, args, Long.valueOf(1));
      FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_URL, args, svnRepository);
    } else {
      SVNRepositoryModelImpl svnRepositoryModelImpl = (SVNRepositoryModelImpl) svnRepository;

      if ((svnRepositoryModelImpl.getColumnBitmask() & FINDER_PATH_FETCH_BY_URL.getColumnBitmask())
          != 0) {
        Object[] args = new Object[] {svnRepository.getUrl()};

        FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_URL, args, Long.valueOf(1));
        FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_URL, args, svnRepository);
      }
    }
  }