From fed4161acc04c78631098608619c4e3450353dc4 Mon Sep 17 00:00:00 2001 From: Benedikt Ritter Date: Tue, 15 Jul 2014 17:12:31 +0000 Subject: [PATCH] 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 --- src/main/java/org/apache/commons/csv/CSVPrinter.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/apache/commons/csv/CSVPrinter.java b/src/main/java/org/apache/commons/csv/CSVPrinter.java index b801901c..e122da6d 100644 --- a/src/main/java/org/apache/commons/csv/CSVPrinter.java +++ b/src/main/java/org/apache/commons/csv/CSVPrinter.java @@ -344,7 +344,8 @@ public final class CSVPrinter implements Flushable, Closeable { * Prints the given values a single record of delimiter separated values followed by the record separator. * *

- * The values will be quoted if needed. Quotes and newLine characters will be escaped. + * The values will be quoted if needed. Quotes and newLine characters will be escaped. This method adds the record + * separator to the output after printing the record, so there is no need to call {@link #println()}. *

* * @param values @@ -363,7 +364,8 @@ public final class CSVPrinter implements Flushable, Closeable { * Prints the given values a single record of delimiter separated values followed by the record separator. * *

- * The values will be quoted if needed. Quotes and newLine characters will be escaped. + * The values will be quoted if needed. Quotes and newLine characters will be escaped. This method adds the record + * separator to the output after printing the record, so there is no need to call {@link #println()}. *

* * @param values