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

László Bodor commented on TEZ-4101:
-----------------------------------

unfortunately, Objects or other Java built-in classes don't have the 
corresponding methods for checkArgument/checkState, so I will have to implement 
them again in tez common Preconditions (right?)
https://github.com/google/guava/blob/master/guava/src/com/google/common/base/Preconditions.java
however, these are quite simple methods, so this implementation will be very 
similar to Guava's, hope it's not an issue...

> Eliminate some guava dependencies by Java8+ features - Preconditions
> --------------------------------------------------------------------
>
>                 Key: TEZ-4101
>                 URL: https://issues.apache.org/jira/browse/TEZ-4101
>             Project: Apache Tez
>          Issue Type: Improvement
>            Reporter: László Bodor
>            Assignee: László Bodor
>            Priority: Major
>         Attachments: TEZ-4101.01.patch, TEZ-4101.02.patch, TEZ-4101.03.patch
>
>
> 1. Preconditions.checkNotNull -> Objects.requireNonNull
> 2. wrap others into a tez common class



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

Reply via email to