private static VcsLogRootFilter getRootFilter(@Nullable VcsLogFilterCollection filter) {
    if (filter == null) return null;
    return filter.get(VcsLogFilterCollection.ROOT_FILTER);
  }
private static VcsLogRootFilter getRootFilter(@Nullable VcsLogFilterCollection filter)