@@ -121,7 +121,7 @@ private static ByteBuffer getByteBuffer(final String string, final Charset chars
121121 * the String to encode, may be {@code null}
122122 * @return encoded bytes, or {@code null} if the input string was {@code null}
123123 * @throws NullPointerException
124- * Thrown if {@link Charsets #UTF_8} is not initialized, which should never happen since it is
124+ * Thrown if {@link StandardCharsets #UTF_8} is not initialized, which should never happen since it is
125125 * required by the Java platform specification.
126126 * @see <a href="http://download.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
127127 * @see #getBytesUnchecked(String, String)
@@ -139,7 +139,7 @@ public static ByteBuffer getByteBufferUtf8(final String string) {
139139 * the String to encode, may be {@code null}
140140 * @return encoded bytes, or {@code null} if the input string was {@code null}
141141 * @throws NullPointerException
142- * Thrown if {@link Charsets #ISO_8859_1} is not initialized, which should never happen since it is
142+ * Thrown if {@link StandardCharsets #ISO_8859_1} is not initialized, which should never happen since it is
143143 * required by the Java platform specification.
144144 * @since As of 1.7, throws {@link NullPointerException} instead of UnsupportedEncodingException
145145 * @see <a href="http://download.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
@@ -188,7 +188,7 @@ public static byte[] getBytesUnchecked(final String string, final String charset
188188 * the String to encode, may be {@code null}
189189 * @return encoded bytes, or {@code null} if the input string was {@code null}
190190 * @throws NullPointerException
191- * Thrown if {@link Charsets #US_ASCII} is not initialized, which should never happen since it is
191+ * Thrown if {@link StandardCharsets #US_ASCII} is not initialized, which should never happen since it is
192192 * required by the Java platform specification.
193193 * @since As of 1.7, throws {@link NullPointerException} instead of UnsupportedEncodingException
194194 * @see <a href="http://download.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
@@ -206,7 +206,7 @@ public static byte[] getBytesUsAscii(final String string) {
206206 * the String to encode, may be {@code null}
207207 * @return encoded bytes, or {@code null} if the input string was {@code null}
208208 * @throws NullPointerException
209- * Thrown if {@link Charsets #UTF_16} is not initialized, which should never happen since it is
209+ * Thrown if {@link StandardCharsets #UTF_16} is not initialized, which should never happen since it is
210210 * required by the Java platform specification.
211211 * @since As of 1.7, throws {@link NullPointerException} instead of UnsupportedEncodingException
212212 * @see <a href="http://download.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
@@ -224,7 +224,7 @@ public static byte[] getBytesUtf16(final String string) {
224224 * the String to encode, may be {@code null}
225225 * @return encoded bytes, or {@code null} if the input string was {@code null}
226226 * @throws NullPointerException
227- * Thrown if {@link Charsets #UTF_16BE} is not initialized, which should never happen since it is
227+ * Thrown if {@link StandardCharsets #UTF_16BE} is not initialized, which should never happen since it is
228228 * required by the Java platform specification.
229229 * @since As of 1.7, throws {@link NullPointerException} instead of UnsupportedEncodingException
230230 * @see <a href="http://download.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
@@ -242,7 +242,7 @@ public static byte[] getBytesUtf16Be(final String string) {
242242 * the String to encode, may be {@code null}
243243 * @return encoded bytes, or {@code null} if the input string was {@code null}
244244 * @throws NullPointerException
245- * Thrown if {@link Charsets #UTF_16LE} is not initialized, which should never happen since it is
245+ * Thrown if {@link StandardCharsets #UTF_16LE} is not initialized, which should never happen since it is
246246 * required by the Java platform specification.
247247 * @since As of 1.7, throws {@link NullPointerException} instead of UnsupportedEncodingException
248248 * @see <a href="http://download.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
@@ -260,7 +260,7 @@ public static byte[] getBytesUtf16Le(final String string) {
260260 * the String to encode, may be {@code null}
261261 * @return encoded bytes, or {@code null} if the input string was {@code null}
262262 * @throws NullPointerException
263- * Thrown if {@link Charsets #UTF_8} is not initialized, which should never happen since it is
263+ * Thrown if {@link StandardCharsets #UTF_8} is not initialized, which should never happen since it is
264264 * required by the Java platform specification.
265265 * @since As of 1.7, throws {@link NullPointerException} instead of UnsupportedEncodingException
266266 * @see <a href="http://download.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
@@ -329,7 +329,7 @@ public static String newString(final byte[] bytes, final String charsetName) {
329329 * @return A new {@code String} decoded from the specified array of bytes using the ISO-8859-1 charset, or
330330 * {@code null} if the input byte array was {@code null}.
331331 * @throws NullPointerException
332- * Thrown if {@link Charsets #ISO_8859_1} is not initialized, which should never happen since it is
332+ * Thrown if {@link StandardCharsets #ISO_8859_1} is not initialized, which should never happen since it is
333333 * required by the Java platform specification.
334334 * @since As of 1.7, throws {@link NullPointerException} instead of UnsupportedEncodingException
335335 */
@@ -345,7 +345,7 @@ public static String newStringIso8859_1(final byte[] bytes) {
345345 * @return A new {@code String} decoded from the specified array of bytes using the US-ASCII charset,
346346 * or {@code null} if the input byte array was {@code null}.
347347 * @throws NullPointerException
348- * Thrown if {@link Charsets #US_ASCII} is not initialized, which should never happen since it is
348+ * Thrown if {@link StandardCharsets #US_ASCII} is not initialized, which should never happen since it is
349349 * required by the Java platform specification.
350350 * @since As of 1.7, throws {@link NullPointerException} instead of UnsupportedEncodingException
351351 */
@@ -361,7 +361,7 @@ public static String newStringUsAscii(final byte[] bytes) {
361361 * @return A new {@code String} decoded from the specified array of bytes using the UTF-16 charset
362362 * or {@code null} if the input byte array was {@code null}.
363363 * @throws NullPointerException
364- * Thrown if {@link Charsets #UTF_16} is not initialized, which should never happen since it is
364+ * Thrown if {@link StandardCharsets #UTF_16} is not initialized, which should never happen since it is
365365 * required by the Java platform specification.
366366 * @since As of 1.7, throws {@link NullPointerException} instead of UnsupportedEncodingException
367367 */
@@ -377,7 +377,7 @@ public static String newStringUtf16(final byte[] bytes) {
377377 * @return A new {@code String} decoded from the specified array of bytes using the UTF-16BE charset,
378378 * or {@code null} if the input byte array was {@code null}.
379379 * @throws NullPointerException
380- * Thrown if {@link Charsets #UTF_16BE} is not initialized, which should never happen since it is
380+ * Thrown if {@link StandardCharsets #UTF_16BE} is not initialized, which should never happen since it is
381381 * required by the Java platform specification.
382382 * @since As of 1.7, throws {@link NullPointerException} instead of UnsupportedEncodingException
383383 */
@@ -393,7 +393,7 @@ public static String newStringUtf16Be(final byte[] bytes) {
393393 * @return A new {@code String} decoded from the specified array of bytes using the UTF-16LE charset,
394394 * or {@code null} if the input byte array was {@code null}.
395395 * @throws NullPointerException
396- * Thrown if {@link Charsets #UTF_16LE} is not initialized, which should never happen since it is
396+ * Thrown if {@link StandardCharsets #UTF_16LE} is not initialized, which should never happen since it is
397397 * required by the Java platform specification.
398398 * @since As of 1.7, throws {@link NullPointerException} instead of UnsupportedEncodingException
399399 */
@@ -409,7 +409,7 @@ public static String newStringUtf16Le(final byte[] bytes) {
409409 * @return A new {@code String} decoded from the specified array of bytes using the UTF-8 charset,
410410 * or {@code null} if the input byte array was {@code null}.
411411 * @throws NullPointerException
412- * Thrown if {@link Charsets #UTF_8} is not initialized, which should never happen since it is
412+ * Thrown if {@link StandardCharsets #UTF_8} is not initialized, which should never happen since it is
413413 * required by the Java platform specification.
414414 * @since As of 1.7, throws {@link NullPointerException} instead of UnsupportedEncodingException
415415 */
0 commit comments