git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1512650 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benedikt Ritter 2013-08-10 11:46:28 +00:00
parent 012146e476
commit 5a30b37043
1 changed files with 4 additions and 4 deletions

View File

@ -49,7 +49,7 @@ final class Lexer {
private final char delimiter;
private final char escape;
private final char quoteChar;
private final char commmentStart;
private final char commentStart;
private final boolean ignoreSurroundingSpaces;
private final boolean ignoreEmptyLines;
@ -63,7 +63,7 @@ final class Lexer {
this.delimiter = format.getDelimiter();
this.escape = mapNullToDisabled(format.getEscape());
this.quoteChar = mapNullToDisabled(format.getQuoteChar());
this.commmentStart = mapNullToDisabled(format.getCommentStart());
this.commentStart = mapNullToDisabled(format.getCommentStart());
this.ignoreSurroundingSpaces = format.getIgnoreSurroundingSpaces();
this.ignoreEmptyLines = format.getIgnoreEmptyLines();
}
@ -409,14 +409,14 @@ final class Lexer {
}
boolean isCommentStart(final int ch) {
return ch == commmentStart;
return ch == commentStart;
}
private boolean isMetaChar(final int ch) {
return ch == delimiter ||
ch == escape ||
ch == quoteChar ||
ch == commmentStart;
ch == commentStart;
}
/**