Class IncludedInUtil


  • public class IncludedInUtil
    extends Object
    • Constructor Detail

      • IncludedInUtil

        public IncludedInUtil()
    • Method Detail

      • 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