You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Siddharth Seth (JIRA)" <ji...@apache.org> on 2014/03/03 20:08:21 UTC

[jira] [Commented] (TEZ-884) Add parameter checking for context related user API's

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

Siddharth Seth commented on TEZ-884:
------------------------------------

Do we need to put in a maven dependency to pull in "@ Nullabe". I believe it works rightnow because it's pulled in explicitly by Hadoop.

> Add parameter checking for context related user API's
> -----------------------------------------------------
>
>                 Key: TEZ-884
>                 URL: https://issues.apache.org/jira/browse/TEZ-884
>             Project: Apache Tez
>          Issue Type: Sub-task
>            Reporter: Tsuyoshi OZAWA
>            Assignee: Tsuyoshi OZAWA
>             Fix For: 0.4.0
>
>         Attachments: TEZ-884.1.patch, TEZ-884.2.patch
>
>
> I'm taking TEZ-865, and struggling with NPE. It's very effective to avoid NPE by adding @Nullable annotation and assert arguments by Preconditions.checkNotNull at API level.



--
This message was sent by Atlassian JIRA
(v6.2#6252)