You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by br...@apache.org on 2014/08/10 11:23:02 UTC
svn commit: r1617076 - in
/commons/proper/csv/trunk/src/main/java/org/apache/commons/csv:
CSVFormat.java CSVPrinter.java
Author: britter
Date: Sun Aug 10 09:23:01 2014
New Revision: 1617076
URL: http://svn.apache.org/r1617076
Log:
Fix JavaDoc problems
Modified:
commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java
commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVPrinter.java
Modified: commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java
URL: http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java?rev=1617076&r1=1617075&r2=1617076&view=diff
==============================================================================
--- commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java (original)
+++ commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java Sun Aug 10 09:23:01 2014
@@ -162,14 +162,15 @@ public final class CSVFormat implements
/**
* Standard comma separated format, as for {@link #RFC4180} but allowing empty lines.
*
- * <p>Settings are:
+ * <p>
+ * Settings are:
+ * </p>
* <ul>
* <li>withDelimiter(',')</li>
* <li>withQuoteChar('"')</li>
* <li>withRecordSeparator("\r\n")</li>
* <li>withIgnoreEmptyLines(true)</li>
* </ul>
- * </p>
*/
public static final CSVFormat DEFAULT = new CSVFormat(COMMA, DOUBLE_QUOTE_CHAR, null, null, null,
false, true, CRLF, null, null, false, false);
@@ -177,14 +178,15 @@ public final class CSVFormat implements
/**
* Comma separated format as defined by <a href="http://tools.ietf.org/html/rfc4180">RFC 4180</a>.
*
- * <p>Settings are:
+ * <p>
+ * Settings are:
+ * </p>
* <ul>
* <li>withDelimiter(',')</li>
* <li>withQuoteChar('"')</li>
* <li>withRecordSeparator("\r\n")</li>
* <li>withIgnoreEmptyLines(false)</li>
* </ul>
- * </p>
*/
public static final CSVFormat RFC4180 = DEFAULT.withIgnoreEmptyLines(false);
@@ -202,13 +204,13 @@ public final class CSVFormat implements
*
* <p>
* Settings are:
+ * </p>
* <ul>
* <li>withDelimiter(',')</li>
* <li>withQuoteChar('"')</li>
* <li>withRecordSeparator("\r\n")</li>
* <li>withIgnoreEmptyLines(false)</li>
* </ul>
- * </p>
* <p>
* Note: this is currently the same as {@link #RFC4180}.
* </p>
@@ -218,14 +220,15 @@ public final class CSVFormat implements
/**
* Tab-delimited format.
*
- * <p>Settings are:
+ * <p>
+ * Settings are:
+ * </p>
* <ul>
* <li>withDelimiter('\t')</li>
* <li>withQuoteChar('"')</li>
* <li>withRecordSeparator("\r\n")</li>
* <li>withIgnoreSurroundingSpaces(true)</li>
* </ul>
- * </p>
*/
public static final CSVFormat TDF =
DEFAULT
@@ -242,6 +245,7 @@ public final class CSVFormat implements
*
* <p>
* Settings are:
+ * </p>
* <ul>
* <li>withDelimiter('\t')</li>
* <li>withQuoteChar(null)</li>
@@ -249,7 +253,6 @@ public final class CSVFormat implements
* <li>withIgnoreEmptyLines(false)</li>
* <li>withEscape('\\')</li>
* </ul>
- * </p>
* @see <a href="http://dev.mysql.com/doc/refman/5.1/en/load-data.html">
* http://dev.mysql.com/doc/refman/5.1/en/load-data.html</a>
*/
Modified: commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVPrinter.java
URL: http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVPrinter.java?rev=1617076&r1=1617075&r2=1617076&view=diff
==============================================================================
--- commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVPrinter.java (original)
+++ commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVPrinter.java Sun Aug 10 09:23:01 2014
@@ -387,21 +387,21 @@ public final class CSVPrinter implements
*
* <p>Given the following data structure:</p>
* <pre>
- * <source>
+ * <code>
* List<String[]> data = ...
* data.add(new String[]{ "A", "B", "C" });
* data.add(new String[]{ "1", "2", "3" });
* data.add(new String[]{ "A1", "B2", "C3" });
- * </source>
+ * </code>
* </pre>
*
* <p>Calling this method will print:</p>
* <pre>
- * <source>
+ * <code>
* A, B, C
* 1, 2, 3
* A1, B2, C3
- * </source>
+ * </code>
* </pre>
*
* @param values
@@ -430,21 +430,21 @@ public final class CSVPrinter implements
*
* <p>Given the following data structure:</p>
* <pre>
- * <source>
+ * <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" };
- * </source>
+ * </code>
* </pre>
*
* <p>Calling this method will print:</p>
* <pre>
- * <source>
+ * <code>
* A, B, C
* 1, 2, 3
* A1, B2, C3
- * </source>
+ * </code>
* </pre>
*
* @param values