[
https://issues.apache.org/jira/browse/HADOOP-9144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13532573#comment-13532573
]
Chris Nauroth commented on HADOOP-9144:
---------------------------------------
https://builds.apache.org/job/PreCommit-HADOOP-Build/1871//artifact/trunk/patchprocess/newPatchFindbugsWarningshadoop-common.html
For the string comparisons in {{Path}}, we can replace == with
{{String#equals}}.
For {{FileUtil#setPermission}}, we need to make sure that all paths through the
code use {{checkReturnValue}} after each API call to change permissions.
> FindBugs reports new warnings in branch-trunk-win
> -------------------------------------------------
>
> Key: HADOOP-9144
> URL: https://issues.apache.org/jira/browse/HADOOP-9144
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs
> Affects Versions: trunk-win
> Reporter: Chris Nauroth
> Assignee: Chris Nauroth
>
> Testing the merge from branch-trunk-win to trunk, we saw some new FindBugs
> warnings that need to be fixed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira