Javadoc: Replace <code></code> HTML tags with Javadoc {@code} notation.

This commit is contained in:
Gary Gregory 2019-12-10 00:21:22 -05:00
parent 53be2154bf
commit 18644c88d4
2 changed files with 18 additions and 18 deletions

View File

@ -633,7 +633,7 @@ public final class CSVFormat implements Serializable {
* @param c
* the character to check
*
* @return true if <code>c</code> is a line break character
* @return true if {@code c} is a line break character
*/
private static boolean isLineBreak(final char c) {
return c == LF || c == CR;
@ -645,7 +645,7 @@ public final class CSVFormat implements Serializable {
* @param c
* the character to check, may be null
*
* @return true if <code>c</code> is a line break character (and not null)
* @return true if {@code c} is a line break character (and not null)
*/
private static boolean isLineBreak(final Character c) {
return c != null && isLineBreak(c.charValue());

View File

@ -42,15 +42,15 @@ class IOUtils {
private static final int EOF = -1;
/**
* Copies chars from a large (over 2GB) <code>Reader</code> to an <code>Appendable</code>.
* Copies chars from a large (over 2GB) {@code Reader} to an {@code Appendable}.
* <p>
* This method buffers the input internally, so there is no need to use a
* <code>BufferedReader</code>.
* {@code BufferedReader}.
* </p>
* The buffer size is given by {@link #DEFAULT_BUFFER_SIZE}.
*
* @param input the <code>Reader</code> to read from
* @param output the <code>Appendable</code> to append to
* @param input the {@code Reader} to read from
* @param output the {@code Appendable} to append to
* @return the number of characters copied
* @throws NullPointerException if the input or output is null
* @throws IOException if an I/O error occurs
@ -61,14 +61,14 @@ class IOUtils {
}
/**
* Copies chars from a large (over 2GB) <code>Reader</code> to an <code>Appendable</code>.
* Copies chars from a large (over 2GB) {@code Reader} to an {@code Appendable}.
* <p>
* This method uses the provided buffer, so there is no need to use a
* <code>BufferedReader</code>.
* {@code BufferedReader}.
* </p>
*
* @param input the <code>Reader</code> to read from
* @param output the <code>Appendable</code> to write to
* @param input the {@code Reader} to read from
* @param output the {@code Appendable} to write to
* @param buffer the buffer to be used for the copy
* @return the number of characters copied
* @throws NullPointerException if the input or output is null
@ -90,15 +90,15 @@ class IOUtils {
* <p>
* Copied from Apache Commons IO.
* </p>
* Copies chars from a large (over 2GB) <code>Reader</code> to a <code>Writer</code>.
* Copies chars from a large (over 2GB) {@code Reader} to a {@code Writer}.
* <p>
* This method buffers the input internally, so there is no need to use a
* <code>BufferedReader</code>.
* {@code BufferedReader}.
* <p>
* The buffer size is given by {@link #DEFAULT_BUFFER_SIZE}.
*
* @param input the <code>Reader</code> to read from
* @param output the <code>Writer</code> to write to
* @param input the {@code Reader} to read from
* @param output the {@code Writer} to write to
* @return the number of characters copied
* @throws NullPointerException if the input or output is null
* @throws IOException if an I/O error occurs
@ -112,14 +112,14 @@ class IOUtils {
* <p>
* Copied from Apache Commons IO.
* </p>
* Copies chars from a large (over 2GB) <code>Reader</code> to a <code>Writer</code>.
* Copies chars from a large (over 2GB) {@code Reader} to a {@code Writer}.
* <p>
* This method uses the provided buffer, so there is no need to use a
* <code>BufferedReader</code>.
* {@code BufferedReader}.
* <p>
*
* @param input the <code>Reader</code> to read from
* @param output the <code>Writer</code> to write to
* @param input the {@code Reader} to read from
* @param output the {@code Writer} to write to
* @param buffer the buffer to be used for the copy
* @return the number of characters copied
* @throws NullPointerException if the input or output is null