Author: sebb
Date: Sun Mar 26 17:31:00 2017
New Revision: 1788757
URL: http://svn.apache.org/viewvc?rev=1788757&view=rev
Log:
Incorrect Javadoc
Modified:
commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/StringUtils.java
Modified:
commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/StringUtils.java
URL:
http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/StringUtils.java?rev=1788757&r1=1788756&r2=1788757&view=diff
==============================================================================
---
commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/StringUtils.java
(original)
+++
commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/StringUtils.java
Sun Mar 26 17:31:00 2017
@@ -285,9 +285,6 @@ public class StringUtils {
* The {@link Charset} to encode the <code>String</code>
* @return A new <code>String</code> decoded from the specified array of
bytes using the given charset,
* or <code>null</code> if the input byte array was
<code>null</code>.
- * @throws NullPointerException
- * Thrown if {@link Charsets#UTF_8} is not initialized, which
should never happen since it is
- * required by the Java platform specification.
*/
private static String newString(final byte[] bytes, final Charset charset)
{
return bytes == null ? null : new String(bytes, charset);