public static RevFilter create(int maxCount) {if (maxCount < 0)throw new IllegalArgumentException(JGitText.get().maxCountMustBeNonNegative);return new MaxCountRevFilter(maxCount);}

public static RevFilter Create(int maxCount){if (maxCount < 0){throw new ArgumentException(JGitText.Get().maxCountMustBeNonNegative);}return new NGit.Revwalk.Filter.MaxCountRevFilter(maxCount);}
