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

Akira Ajisaka commented on HADOOP-15223:
----------------------------------------

Cherry-picked to branch-3.

> Replace Collections.EMPTY* with empty* 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
>             Fix For: 3.1.0
>
>         Attachments: HADOOP-15223.001.patch, HADOOP-15223.002.patch, 
> HADOOP-15223.003.patch, HADOOP-15223.004.patch, HADOOP-15223.005.patch
>
>
> 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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to