hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andres Perez (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-10230) GSetByHashMap breaks contract of GSet
Date Thu, 12 May 2016 18:16:13 GMT

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

Andres Perez updated HADOOP-10230:
----------------------------------
    Attachment: HADOOP-10230.002.patch

I added the methods that were missing.

> GSetByHashMap breaks contract of GSet
> -------------------------------------
>
>                 Key: HADOOP-10230
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10230
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.2.0
>            Reporter: Hiroshi Ikeda
>            Assignee: Andres Perez
>            Priority: Trivial
>         Attachments: HADOOP-10230.001.patch, HADOOP-10230.002.patch
>
>
> 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.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message