private @NotNull Collection<VirtualFile> getFilterRoots(@Nullable VcsLogRootFilter filter) {
    return filter != null ? filter.getRoots() : getAllRoots();
  }
private @NotNull Collection<VirtualFile> getFilterRoots(@Nullable VcsLogRootFilter filter)