[
https://issues.apache.org/jira/browse/OOZIE-3488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16839554#comment-16839554
]
Zsombor Gegesy commented on OOZIE-3488:
---------------------------------------
Thanks. I've checked, and first I tried to focus on the methods, where there
are clear, JVM based alternatives exist.
ImmutableList/ImmutableMap/ImmutableSet could be converted too, but they are
used somewhere more as sign of contract - like in
org.apache.oozie.fluentjob.api.workflow.Parameters.
Preconditions and Joiner can be substituted with commons-lang3, or some other
commons-lib if agreed.
There are still 253 'import com.google.common' in the code base, so it will
become huge, if we try to merge it once, so I think, better postpone the rest
for other tickets.
> 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)