You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2012/05/10 02:13:48 UTC
[jira] [Created] (HDFS-3394) Do not use generic in
INodeFile.getLastBlock()
Tsz Wo (Nicholas), SZE created HDFS-3394:
--------------------------------------------
Summary: Do not use generic in INodeFile.getLastBlock()
Key: HDFS-3394
URL: https://issues.apache.org/jira/browse/HDFS-3394
Project: Hadoop HDFS
Issue Type: Improvement
Components: name-node
Reporter: Tsz Wo (Nicholas), SZE
Assignee: Tsz Wo (Nicholas), SZE
Priority: Minor
As shown in HDFS-3385, the ClassCastException check in INodeFile.getLastBlock() is useless since generic type information is only available in compile-time but not run-time.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira