This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-csv.git
The following commit(s) were added to refs/heads/master by this push:
new b240dec2 Use Javadoc @code
b240dec2 is described below
commit b240dec234e1f0fa1a6be0a665f2902b170c5399
Author: Gary Gregory <[email protected]>
AuthorDate: Mon Jul 29 16:59:54 2024 -0400
Use Javadoc @code
---
src/main/java/org/apache/commons/csv/CSVPrinter.java | 18 +++++++-----------
1 file changed, 7 insertions(+), 11 deletions(-)
diff --git a/src/main/java/org/apache/commons/csv/CSVPrinter.java
b/src/main/java/org/apache/commons/csv/CSVPrinter.java
index 0dd23d7d..fa4294dc 100644
--- a/src/main/java/org/apache/commons/csv/CSVPrinter.java
+++ b/src/main/java/org/apache/commons/csv/CSVPrinter.java
@@ -328,13 +328,12 @@ public final class CSVPrinter implements Flushable,
Closeable {
* Given the following data structure:
* </p>
*
- * <pre>
- * <code>
+ * <pre>{@code
* List<String[]> data = new ArrayList<>();
* data.add(new String[]{ "A", "B", "C" });
* data.add(new String[]{ "1", "2", "3" });
* data.add(new String[]{ "A1", "B2", "C3" });
- * </code>
+ * }
* </pre>
*
* <p>
@@ -372,21 +371,19 @@ public final class CSVPrinter implements Flushable,
Closeable {
* Given the following data structure:
* </p>
*
- * <pre>
- * <code>
+ * <pre>{@code
* String[][] data = new String[3][]
* data[0] = String[]{ "A", "B", "C" };
* data[1] = new String[]{ "1", "2", "3" };
* data[2] = new String[]{ "A1", "B2", "C3" };
- * </code>
+ * }
* </pre>
*
* <p>
* Calling this method will print:
* </p>
*
- * <pre>
- * {@code
+ * <pre>{@code
* A, B, C
* 1, 2, 3
* A1, B2, C3
@@ -462,14 +459,13 @@ public final class CSVPrinter implements Flushable,
Closeable {
* Given the following data structure:
* </p>
*
- * <pre>
- * <code>
+ * <pre>{@code
* List<String[]> data = new ArrayList<>();
* data.add(new String[]{ "A", "B", "C" });
* data.add(new String[]{ "1", "2", "3" });
* data.add(new String[]{ "A1", "B2", "C3" });
* Stream<String[]> stream = data.stream();
- * </code>
+ * }
* </pre>
*
* <p>