[
https://issues.apache.org/jira/browse/JAMES-2270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16302623#comment-16302623
]
ASF GitHub Bot commented on JAMES-2270:
---------------------------------------
GitHub user dtrebbien opened a pull request:
https://github.com/apache/james-project/pull/93
JAMES-2270 Replace uses of considered-deprecated constants
In Java 7+ projects, constants within `com.google.common.base.Charsets` are
considered deprecated, and the corresponding constants from `StandardCharsets`
are preferred.
These changes were suggested by the Extra Hints plugin for NetBeans:
http://plugins.netbeans.org/plugin/73447/
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dtrebbien/james-project
JAMES-2270-replace-Charsets-usages
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/james-project/pull/93.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #93
----
commit 0dbc2adc46508a12f6ff01f704c3c5ab866099d9
Author: Daniel Trebbien <dtrebbien@...>
Date: 2017-12-23T23:27:20Z
JAMES-2270 Replace uses of considered-deprecated constants
In Java 7+ projects, constants within com.google.common.base.Charsets
are considered deprecated, and the corresponding constants from
StandardCharsets are preferred.
These changes were suggested by the Extra Hints plugin for NetBeans:
http://plugins.netbeans.org/plugin/73447/
----
> Replace uses of considered-deprecated constants in
> com.google.common.base.Charsets
> ----------------------------------------------------------------------------------
>
> Key: JAMES-2270
> URL: https://issues.apache.org/jira/browse/JAMES-2270
> Project: James Server
> Issue Type: Improvement
> Reporter: Daniel Trebbien
> Priority: Minor
>
> The constants in
> [{{com.google.common.base.Charsets}}|https://github.com/google/guava/blob/9b4c062c1a588509d3948fef8170ee400d3b145b/guava/src/com/google/common/base/Charsets.java]
> are documented to be "treated as deprecated" in Java 7+ and replaced by
> corresponding constants in {{java.nio.charset.StandardCharsets}} instead.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]