(doc) remove invalid example of `lastIndexOf` (closes #327)

- `StringUtils.lastIndexOf("aabaabaa", "ba", 2)  = -1` is invalid; moreover, example below is applied to the same arguments, but gets another (correct) result
This commit is contained in:
Roman Golyshev 2018-04-29 02:51:51 +03:00 committed by pascalschumacher
parent 38cf0c68d5
commit 69a8ef3189
1 changed files with 0 additions and 1 deletions

View File

@ -1822,7 +1822,6 @@ public class StringUtils {
* StringUtils.lastIndexOf("aabaabaa", "b", 0) = -1
* StringUtils.lastIndexOf("aabaabaa", "b", 1) = -1
* StringUtils.lastIndexOf("aabaabaa", "b", 2) = 2
* StringUtils.lastIndexOf("aabaabaa", "ba", 2) = -1
* StringUtils.lastIndexOf("aabaabaa", "ba", 2) = 2
* </pre>
*