Skip to content

Commit fed4161

Browse files
committed
Make clear that users don't need to call println() after calling printRecord()
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610758 13f79535-47bb-0310-9956-ffa450edef68
1 parent 225cbe9 commit fed4161

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,8 @@ public void println() throws IOException {
344344
* Prints the given values a single record of delimiter separated values followed by the record separator.
345345
*
346346
* <p>
347-
* The values will be quoted if needed. Quotes and newLine characters will be escaped.
347+
* The values will be quoted if needed. Quotes and newLine characters will be escaped. This method adds the record
348+
* separator to the output after printing the record, so there is no need to call {@link #println()}.
348349
* </p>
349350
*
350351
* @param values
@@ -363,7 +364,8 @@ public void printRecord(final Iterable<?> values) throws IOException {
363364
* Prints the given values a single record of delimiter separated values followed by the record separator.
364365
*
365366
* <p>
366-
* The values will be quoted if needed. Quotes and newLine characters will be escaped.
367+
* The values will be quoted if needed. Quotes and newLine characters will be escaped. This method adds the record
368+
* separator to the output after printing the record, so there is no need to call {@link #println()}.
367369
* </p>
368370
*
369371
* @param values

0 commit comments

Comments
 (0)