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

Erik Krogen commented on HADOOP-16694:
--------------------------------------

I wonder if it's also reasonable to replace instances of 
{{Preconditions.checkNotNull}} with {{Objects.requireNotNull}} to reduce our 
exposure to Guava a bit? But I guess the shading work makes that a less 
necessary endeavor.

> Use Objects requireNull Where Appropriate
> -----------------------------------------
>
>                 Key: HADOOP-16694
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16694
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: common
>    Affects Versions: 3.2
>            Reporter: David Mollitor
>            Assignee: David Mollitor
>            Priority: Major
>         Attachments: HADOOP-16694.1.patch, HADOOP-16694.2.patch
>
>
> https://docs.oracle.com/javase/8/docs/api/java/util/Objects.html#requireNonNull-T-



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to