Skip to content

Commit 126094a

Browse files
committed
Use Javadoc @code
1 parent 1f3307b commit 126094a

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ private void printRecordObject(final Object value) throws IOException {
330330
*
331331
* <pre>
332332
* <code>
333-
* List&lt;String[]&gt; data = new ArrayList&lt;&gt;();
333+
* List<String[]> data = new ArrayList<>();
334334
* data.add(new String[]{ "A", "B", "C" });
335335
* data.add(new String[]{ "1", "2", "3" });
336336
* data.add(new String[]{ "A1", "B2", "C3" });
@@ -342,11 +342,11 @@ private void printRecordObject(final Object value) throws IOException {
342342
* </p>
343343
*
344344
* <pre>
345-
* <code>
345+
* {@code
346346
* A, B, C
347347
* 1, 2, 3
348348
* A1, B2, C3
349-
* </code>
349+
* }
350350
* </pre>
351351
*
352352
* @param values
@@ -386,11 +386,11 @@ public void printRecords(final Iterable<?> values) throws IOException {
386386
* </p>
387387
*
388388
* <pre>
389-
* <code>
389+
* {@code
390390
* A, B, C
391391
* 1, 2, 3
392392
* A1, B2, C3
393-
* </code>
393+
* }
394394
* </pre>
395395
*
396396
* @param values
@@ -464,7 +464,7 @@ public void printRecords(final ResultSet resultSet, final boolean printHeader) t
464464
*
465465
* <pre>
466466
* <code>
467-
* List&lt;String[]&gt; data = new ArrayList&lt;&gt;();
467+
* List<String[]> data = new ArrayList<>();
468468
* data.add(new String[]{ "A", "B", "C" });
469469
* data.add(new String[]{ "1", "2", "3" });
470470
* data.add(new String[]{ "A1", "B2", "C3" });
@@ -477,11 +477,11 @@ public void printRecords(final ResultSet resultSet, final boolean printHeader) t
477477
* </p>
478478
*
479479
* <pre>
480-
* <code>
480+
* {@code
481481
* A, B, C
482482
* 1, 2, 3
483483
* A1, B2, C3
484-
* </code>
484+
* }
485485
* </pre>
486486
*
487487
* @param values

0 commit comments

Comments
 (0)