public static RevFilter create(String pattern) {if (pattern.length() == 0)throw new IllegalArgumentException(JGitText.get().cannotMatchOnEmptyString);if (SubStringRevFilter.safe(pattern))return new SubStringSearch(pattern);return new PatternSearch(pattern);}

public static RevFilter create ( String pattern ) { if ( pattern . length ( ) == 0 ) throw new IllegalArgumentException ( JGitText . get ( ) . cannotMatchOnEmptyString ) ; if ( SubStringRevFilter . safe ( pattern ) ) return new SubStringSearch ( pattern ) ; return new PatternSearch ( pattern ) ; }
public static RevFilter Create(string pattern){if (pattern.Length == 0){throw new ArgumentException(JGitText.Get().cannotMatchOnEmptyString);}if (SubStringRevFilter.Safe(pattern)){return new CommitterRevFilter.SubStringSearch(pattern);}return new CommitterRevFilter.PatternSearch(pattern);}
