hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinayakumar B (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-13274) Filesystem.checkPath should use StringUtils.equalsIgnoreCase for comparisons
Date Thu, 16 Jun 2016 06:05:05 GMT

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

Vinayakumar B commented on HADOOP-13274:
----------------------------------------

My point was, {{String.equalIgnoreCase()}} itself will be locale free. {{StringUtils.equalIgnoreCase()}}
also inturn calling {{String.equalIgnoreCase()}} without doing any locale checks.

> Filesystem.checkPath should use StringUtils.equalsIgnoreCase for comparisons
> ----------------------------------------------------------------------------
>
>                 Key: HADOOP-13274
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13274
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs
>    Affects Versions: 2.8.0
>            Reporter: Steve Loughran
>            Priority: Minor
>
> {{Filesystem.checkPath}} compares URI elements using {{String.equalsIgnoreCase()}}, so
is brittle against i8n locale changes.
> It should move to {{StringUtils.equalsIgnoreCase}} 



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

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message