public static TreeFilter createFromStrings(Collection<String> paths) {if (paths.isEmpty())throw new IllegalArgumentException(JGitText.get().atLeastOnePathIsRequired);final PathFilter[] p = new PathFilter[paths.size()];int i = 0;for (String s : paths)p[i++] = PathFilter.create(s);return create(p);}

public static TreeFilter CreateFromStrings(ICollection<string> paths){if (paths.IsEmpty()){throw new ArgumentException(JGitText.Get().atLeastOnePathIsRequired);}PathFilter[] p = new PathFilter[paths.Count];int i = 0;foreach (string s in paths){p[i++] = PathFilter.Create(s);}return Create(p);}
