Applied Javadoc patch and added new test per
https://github.com/apache/commons-lang/pull/115
This commit is contained in:
parent
ff902c1561
commit
833885c29d
|
@ -1342,7 +1342,7 @@ public class StringUtils {
|
|||
* StringUtils.indexOfIgnoreCase("aabaabaa", "B", 9) = -1
|
||||
* StringUtils.indexOfIgnoreCase("aabaabaa", "B", -1) = 2
|
||||
* StringUtils.indexOfIgnoreCase("aabaabaa", "", 2) = 2
|
||||
* StringUtils.indexOfIgnoreCase("abc", "", 9) = 3
|
||||
* StringUtils.indexOfIgnoreCase("abc", "", 9) = -1
|
||||
* </pre>
|
||||
*
|
||||
* @param str the CharSequence to check, may be null
|
||||
|
|
|
@ -930,6 +930,7 @@ public class StringUtilsEqualsIndexOfTest {
|
|||
assertEquals(5, StringUtils.indexOfIgnoreCase("aabaabaa", "", 5));
|
||||
assertEquals(-1, StringUtils.indexOfIgnoreCase("ab", "AAB", 0));
|
||||
assertEquals(-1, StringUtils.indexOfIgnoreCase("aab", "AAB", 1));
|
||||
assertEquals(-1, StringUtils.indexOfIgnoreCase("abc", "", 9));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Reference in New Issue