Repository: commons-csv Updated Branches: refs/heads/master 9ae4b56c2 -> 48068091e
[CSV-203] withNullString value is printed without quotes when QuoteMode.ALL is specified; add QuoteMode.ALL_NON_NULL. PR #17. Project: http://git-wip-us.apache.org/repos/asf/commons-csv/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-csv/commit/48068091 Tree: http://git-wip-us.apache.org/repos/asf/commons-csv/tree/48068091 Diff: http://git-wip-us.apache.org/repos/asf/commons-csv/diff/48068091 Branch: refs/heads/master Commit: 48068091e40864e6a351f3aa13e87b8d9cb8a4aa Parents: 9ae4b56 Author: Gary Gregory <[email protected]> Authored: Mon Mar 27 12:17:03 2017 -0700 Committer: Gary Gregory <[email protected]> Committed: Mon Mar 27 12:17:03 2017 -0700 ---------------------------------------------------------------------- src/main/java/org/apache/commons/csv/CSVFormat.java | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-csv/blob/48068091/src/main/java/org/apache/commons/csv/CSVFormat.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/csv/CSVFormat.java b/src/main/java/org/apache/commons/csv/CSVFormat.java index 259ea28..88b6da3 100644 --- a/src/main/java/org/apache/commons/csv/CSVFormat.java +++ b/src/main/java/org/apache/commons/csv/CSVFormat.java @@ -349,6 +349,7 @@ public final class CSVFormat implements Serializable { * <li>withIgnoreEmptyLines(false)</li> * <li>withEscape('\\')</li> * <li>withNullString("\\N")</li> + * <li>withQuoteMode(QuoteMode.ALL_NON_NULL)</li> * </ul> * * @see Predefined#MySQL
