@@ -56,8 +56,8 @@ private static byte[] getBytes(String string, Charset charset) {
5656 * byte array.
5757 *
5858 * @param string
59- * the String to encode, may be < code> null</code>
60- * @return encoded bytes, or < code> null</code> if the input string was < code> null</code>
59+ * the String to encode, may be {@ code null}
60+ * @return encoded bytes, or {@ code null} if the input string was {@ code null}
6161 * @throws NullPointerException
6262 * Thrown if {@link Charsets#ISO_8859_1} is not initialized, which should never happen since it is
6363 * required by the Java platform specification.
@@ -79,10 +79,10 @@ public static byte[] getBytesIso8859_1(String string) {
7979 * </p>
8080 *
8181 * @param string
82- * the String to encode, may be < code> null</code>
82+ * the String to encode, may be {@ code null}
8383 * @param charsetName
8484 * The name of a required {@link java.nio.charset.Charset}
85- * @return encoded bytes, or < code> null</code> if the input string was < code> null</code>
85+ * @return encoded bytes, or {@ code null} if the input string was {@ code null}
8686 * @throws IllegalStateException
8787 * Thrown when a {@link UnsupportedEncodingException} is caught, which should never happen for a
8888 * required charset name.
@@ -105,8 +105,8 @@ public static byte[] getBytesUnchecked(String string, String charsetName) {
105105 * array.
106106 *
107107 * @param string
108- * the String to encode, may be < code> null</code>
109- * @return encoded bytes, or < code> null</code> if the input string was < code> null</code>
108+ * the String to encode, may be {@ code null}
109+ * @return encoded bytes, or {@ code null} if the input string was {@ code null}
110110 * @throws NullPointerException
111111 * Thrown if {@link Charsets#US_ASCII} is not initialized, which should never happen since it is
112112 * required by the Java platform specification.
@@ -123,8 +123,8 @@ public static byte[] getBytesUsAscii(String string) {
123123 * array.
124124 *
125125 * @param string
126- * the String to encode, may be < code> null</code>
127- * @return encoded bytes, or < code> null</code> if the input string was < code> null</code>
126+ * the String to encode, may be {@ code null}
127+ * @return encoded bytes, or {@ code null} if the input string was {@ code null}
128128 * @throws NullPointerException
129129 * Thrown if {@link Charsets#UTF_16} is not initialized, which should never happen since it is
130130 * required by the Java platform specification.
@@ -141,8 +141,8 @@ public static byte[] getBytesUtf16(String string) {
141141 * array.
142142 *
143143 * @param string
144- * the String to encode, may be < code> null</code>
145- * @return encoded bytes, or < code> null</code> if the input string was < code> null</code>
144+ * the String to encode, may be {@ code null}
145+ * @return encoded bytes, or {@ code null} if the input string was {@ code null}
146146 * @throws NullPointerException
147147 * Thrown if {@link Charsets#UTF_16BE} is not initialized, which should never happen since it is
148148 * required by the Java platform specification.
@@ -159,8 +159,8 @@ public static byte[] getBytesUtf16Be(String string) {
159159 * array.
160160 *
161161 * @param string
162- * the String to encode, may be < code> null</code>
163- * @return encoded bytes, or < code> null</code> if the input string was < code> null</code>
162+ * the String to encode, may be {@ code null}
163+ * @return encoded bytes, or {@ code null} if the input string was {@ code null}
164164 * @throws NullPointerException
165165 * Thrown if {@link Charsets#UTF_16LE} is not initialized, which should never happen since it is
166166 * required by the Java platform specification.
@@ -177,8 +177,8 @@ public static byte[] getBytesUtf16Le(String string) {
177177 * array.
178178 *
179179 * @param string
180- * the String to encode, may be < code> null</code>
181- * @return encoded bytes, or < code> null</code> if the input string was < code> null</code>
180+ * the String to encode, may be {@ code null}
181+ * @return encoded bytes, or {@ code null} if the input string was {@ code null}
182182 * @throws NullPointerException
183183 * Thrown if {@link Charsets#UTF_8} is not initialized, which should never happen since it is
184184 * required by the Java platform specification.
@@ -202,7 +202,7 @@ private static IllegalStateException newIllegalStateException(String charsetName
202202 * @param charset
203203 * The {@link Charset} to encode the {@code String}
204204 * @return A new <code>String</code> decoded from the specified array of bytes using the given charset,
205- * or < code> null</code> if the input byte array was < code> null</code> .
205+ * or {@ code null} if the input byte array was {@ code null} .
206206 * @throws NullPointerException
207207 * Thrown if {@link Charsets#UTF_8} is not initialized, which should never happen since it is
208208 * required by the Java platform specification.
@@ -219,11 +219,11 @@ private static String newString(byte[] bytes, Charset charset) {
219219 * </p>
220220 *
221221 * @param bytes
222- * The bytes to be decoded into characters, may be < code> null</code>
222+ * The bytes to be decoded into characters, may be {@ code null}
223223 * @param charsetName
224224 * The name of a required {@link java.nio.charset.Charset}
225225 * @return A new <code>String</code> decoded from the specified array of bytes using the given charset,
226- * or < code> null</code> if the input byte array was < code> null</code> .
226+ * or {@ code null} if the input byte array was {@ code null} .
227227 * @throws IllegalStateException
228228 * Thrown when a {@link UnsupportedEncodingException} is caught, which should never happen for a
229229 * required charset name.
@@ -245,9 +245,9 @@ public static String newString(byte[] bytes, String charsetName) {
245245 * Constructs a new <code>String</code> by decoding the specified array of bytes using the ISO-8859-1 charset.
246246 *
247247 * @param bytes
248- * The bytes to be decoded into characters, may be < code> null</code>
248+ * The bytes to be decoded into characters, may be {@ code null}
249249 * @return A new <code>String</code> decoded from the specified array of bytes using the ISO-8859-1 charset, or
250- * < code> null</code> if the input byte array was < code> null</code> .
250+ * {@ code null} if the input byte array was {@ code null} .
251251 * @throws NullPointerException
252252 * Thrown if {@link Charsets#ISO_8859_1} is not initialized, which should never happen since it is
253253 * required by the Java platform specification.
@@ -263,7 +263,7 @@ public static String newStringIso8859_1(byte[] bytes) {
263263 * @param bytes
264264 * The bytes to be decoded into characters
265265 * @return A new <code>String</code> decoded from the specified array of bytes using the US-ASCII charset,
266- * or < code> null</code> if the input byte array was < code> null</code> .
266+ * or {@ code null} if the input byte array was {@ code null} .
267267 * @throws NullPointerException
268268 * Thrown if {@link Charsets#US_ASCII} is not initialized, which should never happen since it is
269269 * required by the Java platform specification.
@@ -279,7 +279,7 @@ public static String newStringUsAscii(byte[] bytes) {
279279 * @param bytes
280280 * The bytes to be decoded into characters
281281 * @return A new <code>String</code> decoded from the specified array of bytes using the UTF-16 charset
282- * or < code> null</code> if the input byte array was < code> null</code> .
282+ * or {@ code null} if the input byte array was {@ code null} .
283283 * @throws NullPointerException
284284 * Thrown if {@link Charsets#UTF_16} is not initialized, which should never happen since it is
285285 * required by the Java platform specification.
@@ -295,7 +295,7 @@ public static String newStringUtf16(byte[] bytes) {
295295 * @param bytes
296296 * The bytes to be decoded into characters
297297 * @return A new <code>String</code> decoded from the specified array of bytes using the UTF-16BE charset,
298- * or < code> null</code> if the input byte array was < code> null</code> .
298+ * or {@ code null} if the input byte array was {@ code null} .
299299 * @throws NullPointerException
300300 * Thrown if {@link Charsets#UTF_16BE} is not initialized, which should never happen since it is
301301 * required by the Java platform specification.
@@ -311,7 +311,7 @@ public static String newStringUtf16Be(byte[] bytes) {
311311 * @param bytes
312312 * The bytes to be decoded into characters
313313 * @return A new <code>String</code> decoded from the specified array of bytes using the UTF-16LE charset,
314- * or < code> null</code> if the input byte array was < code> null</code> .
314+ * or {@ code null} if the input byte array was {@ code null} .
315315 * @throws NullPointerException
316316 * Thrown if {@link Charsets#UTF_16LE} is not initialized, which should never happen since it is
317317 * required by the Java platform specification.
@@ -327,7 +327,7 @@ public static String newStringUtf16Le(byte[] bytes) {
327327 * @param bytes
328328 * The bytes to be decoded into characters
329329 * @return A new <code>String</code> decoded from the specified array of bytes using the UTF-8 charset,
330- * or < code> null</code> if the input byte array was < code> null</code> .
330+ * or {@ code null} if the input byte array was {@ code null} .
331331 * @throws NullPointerException
332332 * Thrown if {@link Charsets#UTF_8} is not initialized, which should never happen since it is
333333 * required by the Java platform specification.
0 commit comments