commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Nepywoda (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LANG-813) StringUtils.equalsIgnoreCase doesn't check string reference equality
Date Sat, 14 Jul 2012 00:16:33 GMT
Paul Nepywoda created LANG-813:
----------------------------------

             Summary: StringUtils.equalsIgnoreCase doesn't check string reference equality
                 Key: LANG-813
                 URL: https://issues.apache.org/jira/browse/LANG-813
             Project: Commons Lang
          Issue Type: Bug
          Components: lang.*
    Affects Versions: 3.1
            Reporter: Paul Nepywoda


This looks like a regression from .lang versions prior to 3. If the 2 given CharSequences
are strings (and both not null) you should check reference equality before delegating to regionMatches()

--
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