Skip to content

Commit 4806809

Browse files
committed
[CSV-203]
withNullString value is printed without quotes when QuoteMode.ALL is specified; add QuoteMode.ALL_NON_NULL. PR apache#17.
1 parent 9ae4b56 commit 4806809

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,7 @@ public CSVFormat getFormat() {
349349
* <li>withIgnoreEmptyLines(false)</li>
350350
* <li>withEscape('\\')</li>
351351
* <li>withNullString("\\N")</li>
352+
* <li>withQuoteMode(QuoteMode.ALL_NON_NULL)</li>
352353
* </ul>
353354
*
354355
* @see Predefined#MySQL

0 commit comments

Comments
 (0)