[
https://issues.apache.org/jira/browse/OOZIE-3463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16813079#comment-16813079
]
Andras Salamon commented on OOZIE-3463:
---------------------------------------
[~nobigo] I also think that the pom change should be addressed in this Jira as
suggested by [~kmarton]. I think most of the modules are still use Guava, you
might need to change only one or two. You can use the {{mvn
dependency:analyze}} command to compare the master version and your version. If
it shows guava in the {{Unused declared dependencies found}} section after your
change then you can remove it from the pom. If you're not sure just write a
comment about your findings.
> Migrate from com.google.common.base.Charsets to
> java.nio.charset.StandardCharsets
> ---------------------------------------------------------------------------------
>
> Key: OOZIE-3463
> URL: https://issues.apache.org/jira/browse/OOZIE-3463
> Project: Oozie
> Issue Type: Improvement
> Reporter: Andras Salamon
> Assignee: duan xiong
> Priority: Major
> Attachments: OOZIE-3463-001.patch, OOZIE-3463-002.patch,
> OOZIE-3463-003.patch
>
>
> Oozie usesĀ {{com.google.common.base.Charsets}} in several places. Since Java
> 1.7 it's much easier to use the builtin {{java.nio.charset.StandardCharsets}}
> class as suggested [here|https://stackoverflow.com/a/16066990/21348].
> We should also {{name()}} instead of {{toString()}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)