We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2f2709 commit 33cc947Copy full SHA for 33cc947
1 file changed
src/main/java/org/apache/commons/codec/binary/StringUtils.java
@@ -285,9 +285,6 @@ private static IllegalStateException newIllegalStateException(final String chars
285
* The {@link Charset} to encode the <code>String</code>
286
* @return A new <code>String</code> decoded from the specified array of bytes using the given charset,
287
* 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.
291
*/
292
private static String newString(final byte[] bytes, final Charset charset) {
293
return bytes == null ? null : new String(bytes, charset);
0 commit comments