Description
Wherever possible, use CharSequence and not String in the StringUtils API.
substring can go to subSequence inside code. The general substring method can be replaced with a subSequence method and substring deprecated. One question is whether to implement a CharSequence.indexOf type method. Given that it's merely a walking method(?!?), this might be quite handy and would allow a bunch of StringUtils methods to move over.
Attachments
Attachments
Issue Links
- is cloned by
-
LANG-687 Convert more of the StringUtils API to take CharSequence
- Closed