public RawSubStringPattern(String patternText) {if (patternText.length() == 0)throw new IllegalArgumentException(JGitText.get().cannotMatchOnEmptyString);needleString = patternText;final byte[] b = Constants.encode(patternText);needle = new byte[b.length];for (int i = 0; i < b.length; i++)needle[i] = lc(b[i]);}

public RawSubStringPattern(string patternText){if (patternText.Length == 0){throw new ArgumentException(JGitText.Get().cannotMatchOnEmptyString);}needleString = patternText;byte[] b = Constants.Encode(patternText);needle = new byte[b.Length];for (int i = 0; i < b.Length; i++){needle[i] = Lc(b[i]);}}
