public boolean include(RevWalk walker, RevCommit cmit)throws StopWalkException, MissingObjectException,IncorrectObjectTypeException, IOException {count++;if (count > maxCount)throw StopWalkException.INSTANCE;return true;}
public override bool Include(RevWalk walker, RevCommit cmit){count++;if (count > maxCount){throw StopWalkException.INSTANCE;}return true;}