Skip to content

Commit 7addc8f

Browse files
committed
Misplaced comment
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1306643 13f79535-47bb-0310-9956-ffa450edef68
1 parent 8cd4024 commit 7addc8f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,6 @@ Token nextToken(Token tkn) throws IOException {
4444
int lastChar = in.readAgain();
4545

4646
// read the next char and set eol
47-
/* note: unfortunately isEndOfLine may consumes a character silently.
48-
* this has no effect outside of the method. so a simple workaround
49-
* is to call 'readAgain' on the stream...
50-
*/
5147
int c = in.read();
5248

5349
if (isStartOfLine(lastChar) && isCommentStart(c)) {
@@ -56,6 +52,10 @@ Token nextToken(Token tkn) throws IOException {
5652
return tkn;
5753
}
5854

55+
/* note: unfortunately isEndOfLine may consumes a character silently.
56+
* this has no effect outside of the method. so a simple workaround
57+
* is to call 'readAgain' on the stream...
58+
*/
5959
boolean eol = isEndOfLine(c);
6060
c = in.readAgain();
6161

0 commit comments

Comments
 (0)