(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:
parent
38cf0c68d5
commit
69a8ef3189
|
@ -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>
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue