public static boolean anyRepositoryIsFresh(Collection<? extends Repository> repositories) {
   for (Repository repository : repositories) {
     if (repository.isFresh()) {
       return true;
     }
   }
   return false;
 }
 @NotNull
 public static String getShortRepositoryName(@NotNull Repository repository) {
   return getShortRepositoryName(repository.getProject(), repository.getRoot());
 }
 @Override
 public void consume(Object dummy) {
   if (!Disposer.isDisposed(myRepository)) {
     myRepository.update();
   }
 }
 @Override
 public int compare(Repository o1, Repository o2) {
   return o1.getPresentableUrl().compareTo(o2.getPresentableUrl());
 }