commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] Created: (LANG-687) Convert more of the StringUtils API to take CharSequence
Date Wed, 16 Mar 2011 05:07:29 GMT
Convert more of the StringUtils API to take CharSequence
--------------------------------------------------------

                 Key: LANG-687
                 URL: https://issues.apache.org/jira/browse/LANG-687
             Project: Commons Lang
          Issue Type: Improvement
          Components: lang.*
            Reporter: Henri Yandell
             Fix For: 3.0


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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message