You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Julia Kinga Marton (JIRA)" <ji...@apache.org> on 2019/07/01 09:22:00 UTC

[jira] [Commented] (OOZIE-3513) Migrate from Preconditions.checkNotNull and ParamChecker.notNull

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

Julia Kinga Marton commented on OOZIE-3513:
-------------------------------------------

Thank you @asalamon for the contribution! +1, committed to master

> Migrate from Preconditions.checkNotNull and ParamChecker.notNull
> ----------------------------------------------------------------
>
>                 Key: OOZIE-3513
>                 URL: https://issues.apache.org/jira/browse/OOZIE-3513
>             Project: Oozie
>          Issue Type: Sub-task
>    Affects Versions: trunk
>            Reporter: Andras Salamon
>            Assignee: Andras Salamon
>            Priority: Major
>         Attachments: OOZIE-3513-01.patch, OOZIE-3513-02.patch, OOZIE-3513-03.patch, OOZIE-3513-04.patch, OOZIE-3513-05.patch
>
>
> We currently use both Guava's {{Preconditions.checkNotNull}} and our own {{ParamChecker.notNull}} to check for null arguments. Instead we should use the standard {{Objects.requireNonNull}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)