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

Andras Salamon commented on OOZIE-3488:
---------------------------------------

I agree, it's better to handle this is multiple jiras.

What about replacing {{Preconditions.checkNotNull}} with 
{{Objects.requireNonNull}}? Standard JDK7 class, no need for external 
libraries. Might be a separate jira of course. ( And we also have our own 
[ParamChecker.notNull|https://github.com/apache/oozie/blob/master/core/src/main/java/org/apache/oozie/util/ParamChecker.java#L44]
 ).

Possibly Joiner could also be replaced without using an external library: 
https://stackoverflow.com/a/22577565/21348

> Migrate from guava classes to the base Java implementations
> -----------------------------------------------------------
>
>                 Key: OOZIE-3488
>                 URL: https://issues.apache.org/jira/browse/OOZIE-3488
>             Project: Oozie
>          Issue Type: Improvement
>            Reporter: Zsombor Gegesy
>            Priority: Major
>              Labels: code-cleanup
>             Fix For: 5.2.0
>
>         Attachments: OOZIE-3488.patch
>
>
> In Oozie, guava classes are used even when Java 8 already provides a 
> compatible implementation, removing these usages would reduce the dependency 
> to guava (which is regularly a headache due to her backward incompatible 
> changes)



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

Reply via email to