From 8cfc1b1207577943d412789765a3a2085f1b3036 Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Thu, 25 May 2017 09:28:33 -0700 Subject: [PATCH] Add missing '@Deprecated' annotations. --- src/main/java/org/apache/commons/lang3/CharEncoding.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/apache/commons/lang3/CharEncoding.java b/src/main/java/org/apache/commons/lang3/CharEncoding.java index 65dca331f..634b3af49 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;