mirror of
https://github.com/apache/commons-lang.git
synced 2025-02-09 03:24:58 +00:00
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:
parent
09cf7964fc
commit
5b8fd90207
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user