Add missing '@Deprecated' annotations.

This commit is contained in:
Gary Gregory 2017-05-25 09:28:33 -07:00
parent 6a688cf36e
commit 8cfc1b1207
1 changed files with 1 additions and 0 deletions

View File

@ -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;