public static TreeFilter create(Collection<PathFilter> paths) {if (paths.isEmpty())throw new IllegalArgumentException(JGitText.get().atLeastOnePathIsRequired);final PathFilter[] p = new PathFilter[paths.size()];paths.toArray(p);return create(p);}

public static TreeFilter Create(ICollection<PathFilter> paths){if (paths.IsEmpty()){throw new ArgumentException(JGitText.Get().atLeastOnePathIsRequired);}PathFilter[] p = new PathFilter[paths.Count];Sharpen.Collections.ToArray(paths, p);return Create(p);}
