james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <server-...@james.apache.org>
Subject [jira] [Commented] (JAMES-2270) Replace uses of considered-deprecated constants in com.google.common.base.Charsets
Date Thu, 11 Jan 2018 02:46:00 GMT

    [ https://issues.apache.org/jira/browse/JAMES-2270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16321606#comment-16321606

ASF GitHub Bot commented on JAMES-2270:

GitHub user dtrebbien opened a pull request:


    JAMES-2270 Replace uses of considered-deprecated constants (#2)

    I found some more usages while testing a beta version of my [Extra Hints](http://plugins.netbeans.org/plugin/73447/)
plugin for NetBeans.

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-2

Alternatively you can review and apply these changes as the patch at:


To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #97
commit a571a3d1c1ca84fe1f09a2d47705e3a22de2ab9a
Author: Daniel Trebbien <dtrebbien@...>
Date:   2018-01-11T02:39:59Z

    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:

commit e9ab87c03b7c92afee5f47b9463abb1a209155e6
Author: Daniel Trebbien <dtrebbien@...>
Date:   2018-01-11T02:41:07Z

    JAMES-2270 Replace some uses of constants within MIME4J Charsets


> 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

To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org

View raw message