commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary D. Gregory (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LANG-787) StringUtils.RemoveIgnoreCase desired
Date Sun, 05 Feb 2012 13:17:53 GMT

    [ https://issues.apache.org/jira/browse/LANG-787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13200755#comment-13200755
] 

Gary D. Gregory commented on LANG-787:
--------------------------------------

The issue with named Apis like this is that you end up with ugly code like

If option then
   Call apiIgnoreCase
Else
   Call apiDont ignoreCase

So do we provide both flavors?

-- Posted from Bugbox for iPhone
                
> StringUtils.RemoveIgnoreCase desired
> ------------------------------------
>
>                 Key: LANG-787
>                 URL: https://issues.apache.org/jira/browse/LANG-787
>             Project: Commons Lang
>          Issue Type: New Feature
>          Components: lang.*
>    Affects Versions: 3.1
>            Reporter: david cogen
>            Priority: Minor
>
> removeStartIgnoreCase() and removeEndIgnoreCase() exist, so why not removeIgnoreCase()
> Specifically:
> String removeIgnoreCase(String str, String remove)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message