More useful to have double-quote as a Character

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1411920 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2012-11-20 23:24:58 +00:00
parent 713e9c5382
commit e5a7b27224
2 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@ package org.apache.commons.csv;
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.DOUBLE_QUOTE_CHAR;
import static org.apache.commons.csv.Constants.BACKSLASH;
import static org.apache.commons.csv.Constants.LF;
import static org.apache.commons.csv.Constants.TAB;
@ -149,7 +149,7 @@ public class CSVFormat implements Serializable {
* </ul>
*/
public static CSVFormatBuilder newBuilder() {
return new CSVFormatBuilder(COMMA, DOUBLE_QUOTE, null, null, null, false, true, CRLF, null);
return new CSVFormatBuilder(COMMA, DOUBLE_QUOTE_CHAR, null, null, null, false, true, CRLF, null);
}
/**

View File

@ -33,7 +33,7 @@ final class Constants {
static final char COMMENT = '#';
static final char CR = '\r';
static final char DOUBLE_QUOTE = '"';
static final Character DOUBLE_QUOTE_CHAR = Character.valueOf('"');
static final char BACKSLASH = '\\';
static final char FF = '\f';
static final char LF = '\n';