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

Haohui Mai commented on HADOOP-11429:
-------------------------------------

The close statement can use try-with-resource statement in Java 7.

{code}
+      } catch (NumberFormatException nfe) {
+        LOG.fatal("Caught " + nfe);
+        return 0;
{code}

This should be unnecessary.

> Findbugs warnings in hadoop extras
> ----------------------------------
>
>                 Key: HADOOP-11429
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11429
>             Project: Hadoop Common
>          Issue Type: Sub-task
>    Affects Versions: 2.7.0
>            Reporter: Varun Saxena
>            Assignee: Varun Saxena
>             Fix For: 2.7.0
>
>         Attachments: HADOOP-11429.patch, 
> newPatchFindbugsWarningshadoop-extras.html
>
>
> 9 new findbugs warnings in hadoop-extras. Check the attached report



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to