hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "fang zhenyi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-15223) Replace Collections.EMPTY_SET and EMPTY_MAP with emptySet() and emptyMap() when available
Date Tue, 13 Feb 2018 06:44:01 GMT

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

fang zhenyi commented on HADOOP-15223:
--------------------------------------

Thanks [~ajisakaa]  for reporting this.I will attach a patch later.

> Replace Collections.EMPTY_SET and EMPTY_MAP with emptySet() and emptyMap() when available
> -----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-15223
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15223
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Akira Ajisaka
>            Assignee: fang zhenyi
>            Priority: Minor
>              Labels: newbie
>
> The use of {{Collections.EMPTY_SET}} and {{Collections.EMPTY_MAP}} often causes unchecked
assignment and it should be replaced with {{Collections.emptySet()}} and {{Collections.emptyMap()}}. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
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