Correct name of character: it's not an escape, it's a backslash
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1411918 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
db11c04d29
commit
0e35052508
|
@ -21,7 +21,7 @@ import static org.apache.commons.csv.Constants.COMMA;
|
|||
import static org.apache.commons.csv.Constants.CR;
|
||||
import static org.apache.commons.csv.Constants.CRLF;
|
||||
import static org.apache.commons.csv.Constants.DOUBLE_QUOTE;
|
||||
import static org.apache.commons.csv.Constants.ESCAPE;
|
||||
import static org.apache.commons.csv.Constants.BACKSLASH;
|
||||
import static org.apache.commons.csv.Constants.LF;
|
||||
import static org.apache.commons.csv.Constants.TAB;
|
||||
|
||||
|
@ -119,7 +119,7 @@ public class CSVFormat implements Serializable {
|
|||
newBuilder()
|
||||
.withDelimiter(TAB)
|
||||
.withQuoteChar(null)
|
||||
.withEscape(ESCAPE)
|
||||
.withEscape(BACKSLASH)
|
||||
.withIgnoreEmptyLines(false)
|
||||
.withRecordSeparator(LF)
|
||||
.build();
|
||||
|
|
|
@ -34,7 +34,7 @@ final class Constants {
|
|||
|
||||
static final char CR = '\r';
|
||||
static final char DOUBLE_QUOTE = '"';
|
||||
static final char ESCAPE = '\\';
|
||||
static final char BACKSLASH = '\\';
|
||||
static final char FF = '\f';
|
||||
static final char LF = '\n';
|
||||
static final char SP = ' ';
|
||||
|
|
Loading…
Reference in New Issue