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 "Hiroshi Ikeda (JIRA)" <ji...@apache.org> on 2014/01/14 06:09:51 UTC
[jira] [Resolved] (HDFS-5764) GSetByHashMap breaks contract of GSet
[ https://issues.apache.org/jira/browse/HDFS-5764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hiroshi Ikeda resolved HDFS-5764.
---------------------------------
Resolution: Invalid
> GSetByHashMap breaks contract of GSet
> -------------------------------------
>
> Key: HDFS-5764
> URL: https://issues.apache.org/jira/browse/HDFS-5764
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 2.2.0
> Reporter: Hiroshi Ikeda
> Priority: Trivial
>
> The contract of GSet says it is ensured to throw NullPointerException if a given argument is null for many methods, but GSetByHashMap doesn't. I think just writing non-null preconditions for GSet are required.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)