예제 #1
0
 private void broadcastRepositoryChange(RepositoryRoot root) {
   if (notificationLevel == 0) {
     broadcastRepositoriesChanged(new ICVSRepositoryLocation[] {root.getRoot()});
   } else {
     changedRepositories.put(root.getRoot().getLocation(false), root.getRoot());
   }
 }
예제 #2
0
 /**
  * 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);
 }