private void broadcastRepositoryChange(RepositoryRoot root) { if (notificationLevel == 0) { broadcastRepositoriesChanged(new ICVSRepositoryLocation[] {root.getRoot()}); } else { changedRepositories.put(root.getRoot().getLocation(false), root.getRoot()); } }
/** * Add the given repository root to the receiver. The provided instance of RepositoryRoot is used * to provide extra information about the repository location * * @param currentRepositoryRoot */ public void add(RepositoryRoot root) { repositoryRoots.put(root.getRoot().getLocation(false), root); broadcastRepositoryChange(root); }