private void doForEachInitialized(final Consumer<RootsAndBranches> consumer) {
    myUpdater.queue(() -> {
      for (final RootsAndBranches action : myMergeInfoRefreshActions) {
        if (action.strategyInitialized()) {
          if (ApplicationManager.getApplication().isDispatchThread()) {
            consumer.consume(action);
          }
          else {
            ApplicationManager.getApplication().invokeLater(() -> consumer.consume(action));
          }
        }
      }
    });
  }
private void doForEachInitialized(final Consumer<RootsAndBranches> consumer)