Skip to content

Commit 18644c8

Browse files
committed
Javadoc: Replace <code></code> HTML tags with Javadoc {@code} notation.
1 parent 53be215 commit 18644c8

2 files changed

Lines changed: 18 additions & 18 deletions

File tree

src/main/java/org/apache/commons/csv/CSVFormat.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ public CSVFormat getFormat() {
633633
* @param c
634634
* the character to check
635635
*
636-
* @return true if <code>c</code> is a line break character
636+
* @return true if {@code c} is a line break character
637637
*/
638638
private static boolean isLineBreak(final char c) {
639639
return c == LF || c == CR;
@@ -645,7 +645,7 @@ private static boolean isLineBreak(final char c) {
645645
* @param c
646646
* the character to check, may be null
647647
*
648-
* @return true if <code>c</code> is a line break character (and not null)
648+
* @return true if {@code c} is a line break character (and not null)
649649
*/
650650
private static boolean isLineBreak(final Character c) {
651651
return c != null && isLineBreak(c.charValue());

src/main/java/org/apache/commons/csv/IOUtils.java

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ class IOUtils {
4242
private static final int EOF = -1;
4343

4444
/**
45-
* Copies chars from a large (over 2GB) <code>Reader</code> to an <code>Appendable</code>.
45+
* Copies chars from a large (over 2GB) {@code Reader} to an {@code Appendable}.
4646
* <p>
4747
* This method buffers the input internally, so there is no need to use a
48-
* <code>BufferedReader</code>.
48+
* {@code BufferedReader}.
4949
* </p>
5050
* The buffer size is given by {@link #DEFAULT_BUFFER_SIZE}.
5151
*
52-
* @param input the <code>Reader</code> to read from
53-
* @param output the <code>Appendable</code> to append to
52+
* @param input the {@code Reader} to read from
53+
* @param output the {@code Appendable} to append to
5454
* @return the number of characters copied
5555
* @throws NullPointerException if the input or output is null
5656
* @throws IOException if an I/O error occurs
@@ -61,14 +61,14 @@ static long copy(final Reader input, final Appendable output) throws IOException
6161
}
6262

6363
/**
64-
* Copies chars from a large (over 2GB) <code>Reader</code> to an <code>Appendable</code>.
64+
* Copies chars from a large (over 2GB) {@code Reader} to an {@code Appendable}.
6565
* <p>
6666
* This method uses the provided buffer, so there is no need to use a
67-
* <code>BufferedReader</code>.
67+
* {@code BufferedReader}.
6868
* </p>
6969
*
70-
* @param input the <code>Reader</code> to read from
71-
* @param output the <code>Appendable</code> to write to
70+
* @param input the {@code Reader} to read from
71+
* @param output the {@code Appendable} to write to
7272
* @param buffer the buffer to be used for the copy
7373
* @return the number of characters copied
7474
* @throws NullPointerException if the input or output is null
@@ -90,15 +90,15 @@ static long copy(final Reader input, final Appendable output, final CharBuffer b
9090
* <p>
9191
* Copied from Apache Commons IO.
9292
* </p>
93-
* Copies chars from a large (over 2GB) <code>Reader</code> to a <code>Writer</code>.
93+
* Copies chars from a large (over 2GB) {@code Reader} to a {@code Writer}.
9494
* <p>
9595
* This method buffers the input internally, so there is no need to use a
96-
* <code>BufferedReader</code>.
96+
* {@code BufferedReader}.
9797
* <p>
9898
* The buffer size is given by {@link #DEFAULT_BUFFER_SIZE}.
9999
*
100-
* @param input the <code>Reader</code> to read from
101-
* @param output the <code>Writer</code> to write to
100+
* @param input the {@code Reader} to read from
101+
* @param output the {@code Writer} to write to
102102
* @return the number of characters copied
103103
* @throws NullPointerException if the input or output is null
104104
* @throws IOException if an I/O error occurs
@@ -112,14 +112,14 @@ static long copyLarge(final Reader input, final Writer output) throws IOExceptio
112112
* <p>
113113
* Copied from Apache Commons IO.
114114
* </p>
115-
* Copies chars from a large (over 2GB) <code>Reader</code> to a <code>Writer</code>.
115+
* Copies chars from a large (over 2GB) {@code Reader} to a {@code Writer}.
116116
* <p>
117117
* This method uses the provided buffer, so there is no need to use a
118-
* <code>BufferedReader</code>.
118+
* {@code BufferedReader}.
119119
* <p>
120120
*
121-
* @param input the <code>Reader</code> to read from
122-
* @param output the <code>Writer</code> to write to
121+
* @param input the {@code Reader} to read from
122+
* @param output the {@code Writer} to write to
123123
* @param buffer the buffer to be used for the copy
124124
* @return the number of characters copied
125125
* @throws NullPointerException if the input or output is null

0 commit comments

Comments
 (0)