File tree Expand file tree Collapse file tree
src/main/java/org/apache/commons/csv Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -476,10 +476,10 @@ public CSVFormat getFormat() {
476476 * </p>
477477 * <ul>
478478 * <li>withDelimiter('\t')</li>
479+ * <li>withEscape('\\')</li>
480+ * <li>withIgnoreEmptyLines(false)</li>
479481 * <li>withQuote('"')</li>
480482 * <li>withRecordSeparator('\n')</li>
481- * <li>withIgnoreEmptyLines(false)</li>
482- * <li>withEscape('\\')</li>
483483 * <li>withNullString("\\N")</li>
484484 * <li>withQuoteMode(QuoteMode.ALL_NON_NULL)</li>
485485 * </ul>
@@ -492,7 +492,7 @@ public CSVFormat getFormat() {
492492 // @formatter:off
493493 public static final CSVFormat POSTGRESQL_TEXT = DEFAULT
494494 .withDelimiter (TAB )
495- .withEscape (DOUBLE_QUOTE_CHAR )
495+ .withEscape (BACKSLASH )
496496 .withIgnoreEmptyLines (false )
497497 .withQuote (DOUBLE_QUOTE_CHAR )
498498 .withRecordSeparator (LF )
You can’t perform that action at this time.
0 commit comments