Skip to content

Commit 33cc947

Browse files
committed
Incorrect Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@1788757 13f79535-47bb-0310-9956-ffa450edef68
1 parent d2f2709 commit 33cc947

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/main/java/org/apache/commons/codec/binary/StringUtils.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -285,9 +285,6 @@ private static IllegalStateException newIllegalStateException(final String chars
285285
* The {@link Charset} to encode the <code>String</code>
286286
* @return A new <code>String</code> decoded from the specified array of bytes using the given charset,
287287
* or <code>null</code> if the input byte array was <code>null</code>.
288-
* @throws NullPointerException
289-
* Thrown if {@link Charsets#UTF_8} is not initialized, which should never happen since it is
290-
* required by the Java platform specification.
291288
*/
292289
private static String newString(final byte[] bytes, final Charset charset) {
293290
return bytes == null ? null : new String(bytes, charset);

0 commit comments

Comments
 (0)