[LANG-969] StringUtils.toEncodedString(byte[], Charset) needlessly throws exception.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1565833 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary D. Gregory 2014-02-07 22:21:55 +00:00
parent 555570c954
commit 84f392eaa4
1 changed files with 1 additions and 1 deletions

View File

@ -7625,7 +7625,7 @@ public static String toString(final byte[] bytes, final String charsetName) thro
* the encoding to use, if null then use the platform default
* @return a new String
* @throws UnsupportedEncodingException
* If the named charset is not supported
* This exception is never thrown and should not be in the signature, it will be removed in 4.0.
* @throws NullPointerException
* if the input is null
* @since 3.2