Class IncludedInUtil

java.lang.Object
com.google.gerrit.server.change.IncludedInUtil

public class IncludedInUtil extends Object
  • Constructor Details

    • IncludedInUtil

      public IncludedInUtil()
  • Method Details

    • getSortedRefs

      public static List<org.eclipse.jgit.lib.Ref> getSortedRefs(Collection<org.eclipse.jgit.lib.Ref> refs, org.eclipse.jgit.revwalk.RevWalk revWalk)
      Sorts the collection of Ref instances by its tip commit time.
      Parameters:
      refs - collection to be sorted
      revWalk - RevWalk instance for parsing ref's tip commit
      Returns:
      sorted list of refs