hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-4985) IOException is abused in FSDirectory
Date Wed, 07 Jan 2009 02:15:44 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-4985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tsz Wo (Nicholas), SZE updated HADOOP-4985:
-------------------------------------------

    Attachment: 4985_20090106.patch

4985_20090106.patch: remove unnecessary "throws IOException"

> IOException is abused in FSDirectory
> ------------------------------------
>
>                 Key: HADOOP-4985
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4985
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>            Reporter: Tsz Wo (Nicholas), SZE
>         Attachments: 4985_20090106.patch
>
>
> In FSDirectory, quite a few methods are unnecessary declared with "throws IOException".
 In some cases, it can just be removed without causing any compilation problem.  In some other
cases, it can be replaced with a specific subclass like QuotaExceededException.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message