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 @@ public class StringUtils {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
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…
Reference in New Issue