Rolling back accidental r1089306 commit

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089307 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Henri Yandell 2011-04-06 05:36:35 +00:00
parent 09cf7964fc
commit 5b8fd90207
1 changed files with 0 additions and 10 deletions

View File

@ -6491,14 +6491,4 @@ static char[] toCharArraySequence(CharSequence cs) {
}
}
static boolean regionMatchesSequence(CharSequence cs, boolean ignoreCase, int thisStart,
CharSequence substring, int start, int length)
{
if (cs instanceof String) {
return ((String) cs).regionMatches(ignoreCase, thisStart, substring, start, length);
} else {
// TODO: Implement rather than convert to String
return cs.toString().regionMatches(ignoreCase, thisStart, substring, start, length);
}
}