Skip to content

Commit 1299ddf

Browse files
committed
Oops - fix bug introduced in r1303933
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1303948 13f79535-47bb-0310-9956-ffa450edef68
1 parent fa07dea commit 1299ddf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/org/apache/commons/csv/CSVLexer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Token nextToken(Token tkn) throws IOException {
7474
}
7575

7676
// did we reach eof during the last iteration already ? EOF
77-
if (isEndOfFile(lastChar) || (isDelimiter(lastChar) && isEndOfFile(c))) {
77+
if (isEndOfFile(lastChar) || (!isDelimiter(lastChar) && isEndOfFile(c))) {
7878
tkn.type = EOF;
7979
return tkn;
8080
}

0 commit comments

Comments
 (0)