You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2016/08/24 04:14:02 UTC

[11/31] logging-log4j2 git commit: @deprecated Use {@link StandardCharsets#UTF_8}. Will be removed in 2.5.

@deprecated Use {@link StandardCharsets#UTF_8}. Will be removed in 2.5.

Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/ad673e4c
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/ad673e4c
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/ad673e4c

Branch: refs/heads/LOG4J2-1539
Commit: ad673e4c1ebf8ec559c9b142c33a51fba73ef727
Parents: facb281
Author: Gary Gregory <gg...@apache.org>
Authored: Mon Aug 22 22:57:47 2016 -0700
Committer: Gary Gregory <gg...@apache.org>
Committed: Mon Aug 22 22:57:47 2016 -0700

----------------------------------------------------------------------
 .../java/org/apache/logging/log4j/core/util/Constants.java   | 8 --------
 1 file changed, 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/ad673e4c/log4j-core/src/main/java/org/apache/logging/log4j/core/util/Constants.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/util/Constants.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/Constants.java
index 09ec0bb..a5eee73 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/util/Constants.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/Constants.java
@@ -58,14 +58,6 @@ public final class Constants {
     public static final int MILLIS_IN_SECONDS = 1000;
 
     /**
-     * Equivalent to StandardCharsets.UTF_8.
-     *
-     * @deprecated Use {@link StandardCharsets#UTF_8}. Will be removed in 2.5.
-     */
-    @Deprecated
-    public static final Charset UTF_8 = StandardCharsets.UTF_8;
-
-    /**
      * Supports user request LOG4J2-898 to have the option to format a message in the background thread.
      */
     public static final boolean FORMAT_MESSAGES_IN_BACKGROUND = PropertiesUtil.getProperties().getBooleanProperty(