[
https://issues.apache.org/jira/browse/HADOOP-13274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15331614#comment-15331614
]
Vinayakumar B commented on HADOOP-13274:
----------------------------------------
Similar issue was discussed in HDFS-8705. But it was found that
{{String.equalIgnoreCase()}} is sufficient there.
Morever {{StringUtils.equalsIgnoreCase()}} also does nothing different there.
> 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]