[ https://issues.apache.org/jira/browse/HADOOP-14339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15980733#comment-15980733 ]
Weiwei Yang commented on HADOOP-14339: -------------------------------------- Thanks [~ajisakaa], that's a good catch, I think we should init localizedFiles with an empty HashSet to avoid null checks. I just fixed this in v4 patch, it also replaced add(..) by Collections.addAll(...). Thanks a lot. > Fix warnings from Spotbugs in hadoop-mapreduce > ---------------------------------------------- > > Key: HADOOP-14339 > URL: https://issues.apache.org/jira/browse/HADOOP-14339 > Project: Hadoop Common > Issue Type: Sub-task > Reporter: Weiwei Yang > Assignee: Weiwei Yang > Attachments: HADOOP-14339.001.patch, HADOOP-14339.002.patch, > HADOOP-14339.003.patch, HADOOP-14339.004.patch > > > Fix warnings from Spotbugs in hadoop-mapreduce since switched from findbugs > to spotbugs. -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org