commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Created] (VALIDATOR-347) toLowerCase() method is Locale-sensitive and should not be used
Date Wed, 31 Dec 2014 00:46:13 GMT
Sebb created VALIDATOR-347:
------------------------------

             Summary: toLowerCase() method is Locale-sensitive and should not be used
                 Key: VALIDATOR-347
                 URL: https://issues.apache.org/jira/browse/VALIDATOR-347
             Project: Commons Validator
          Issue Type: Bug
            Reporter: Sebb


The {{String.toLowerCase()}} method is Locale-sensitive and should rarely be used.

Its Javadoc says to use {{toLowerCase(Locale.ENGLISH)}} instead

This currently affects only DomainValidator



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message