[
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: [email protected]
For additional commands, e-mail: [email protected]