hadoop-common-issues mailing list archives

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

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

Steve Loughran commented on HADOOP-13274:
-----------------------------------------

OK. 
FWIW, these commons one does some null checks which nominally simplify a bit of the logic,
but that relies on people knowing that detail, or checking via the IDE regularly. Wontfixing

> 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