commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brit...@apache.org
Subject [10/48] [lang] Add missing '@Deprecated' annotations.
Date Thu, 08 Jun 2017 08:15:44 GMT
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 <ggregory@apache.org>
Authored: Thu May 25 09:28:33 2017 -0700
Committer: Gary Gregory <ggregory@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;


Mime
View raw message