Rename ivar to ignoreEmptyLines to match CSVFormat.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1397785 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary D. Gregory 2012-10-13 06:29:09 +00:00
parent 3655efcedb
commit 992c0645e0
4 changed files with 5 additions and 5 deletions

View File

@ -58,7 +58,7 @@ class CSVLexer extends Lexer {
boolean eol = isEndOfLine(c);
// empty line detection: eol AND (last char was EOL or beginning)
if (emptyLinesIgnored) {
if (ignoreEmptyLines) {
while (eol && isStartOfLine(lastChar)) {
// go on char ahead ...
lastChar = c;

View File

@ -38,7 +38,7 @@ abstract class Lexer {
private final Character commmentStart;
final boolean ignoreSurroundingSpaces;
final boolean emptyLinesIgnored;
final boolean ignoreEmptyLines;
final CSVFormat format;
@ -53,7 +53,7 @@ abstract class Lexer {
this.encapsulator = format.getEncapsulator();
this.commmentStart = format.getCommentStart();
this.ignoreSurroundingSpaces = format.getIgnoreSurroundingSpaces();
this.emptyLinesIgnored = format.getIgnoreEmptyLines();
this.ignoreEmptyLines = format.getIgnoreEmptyLines();
}
int getLineNumber() {

View File

@ -64,7 +64,7 @@ class CSVLexer1306663 extends Lexer {
c = in.readAgain();
// empty line detection: eol AND (last char was EOL or beginning)
if (emptyLinesIgnored) {
if (ignoreEmptyLines) {
while (eol && isStartOfLine(lastChar)) {
// go on char ahead ...
lastChar = c;

View File

@ -58,7 +58,7 @@ class CSVLexer1306667 extends Lexer {
c = in.readAgain();
// empty line detection: eol AND (last char was EOL or beginning)
if (emptyLinesIgnored) {
if (ignoreEmptyLines) {
while (eol && isStartOfLine(lastChar)) {
// go on char ahead ...
lastChar = c;