You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by br...@apache.org on 2017/06/08 08:15:44 UTC

[10/48] [lang] Add missing '@Deprecated' annotations.

Add missing '@Deprecated' annotations.

Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/8cfc1b12
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/8cfc1b12
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/8cfc1b12

Branch: refs/heads/release
Commit: 8cfc1b1207577943d412789765a3a2085f1b3036
Parents: 6a688cf
Author: Gary Gregory <gg...@apache.org>
Authored: Thu May 25 09:28:33 2017 -0700
Committer: Gary Gregory <gg...@apache.org>
Committed: Thu May 25 09:28:33 2017 -0700

----------------------------------------------------------------------
 src/main/java/org/apache/commons/lang3/CharEncoding.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/8cfc1b12/src/main/java/org/apache/commons/lang3/CharEncoding.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/lang3/CharEncoding.java b/src/main/java/org/apache/commons/lang3/CharEncoding.java
index 65dca33..634b3af 100644
--- a/src/main/java/org/apache/commons/lang3/CharEncoding.java
+++ b/src/main/java/org/apache/commons/lang3/CharEncoding.java
@@ -96,6 +96,7 @@ public class CharEncoding {
      * @deprecated Please use {@link Charset#isSupported(String)} instead, although be aware that {@code null}
      * values are not accepted by that method and an {@link IllegalCharsetNameException} may be thrown.
      */
+    @Deprecated
     public static boolean isSupported(final String name) {
         if (name == null) {
             return false;