commons-issues mailing list archives

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

     [ https://issues.apache.org/jira/browse/VALIDATOR-347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sebb resolved VALIDATOR-347.
----------------------------
       Resolution: Fixed
    Fix Version/s: 1.4.1

URL: http://svn.apache.org/r1648637
Log:
VALIDATOR-347 toLowerCase() method is Locale-sensitive and should not be used

Modified:
    commons/proper/validator/trunk/src/changes/changes.xml
    commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/DomainValidator.java


> 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
>    Affects Versions: 1.4.0 Release
>            Reporter: Sebb
>             Fix For: 1.4.1
>
>
> 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