Misplaced comment
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1306643 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8cd4024e6d
commit
7addc8f688
|
@ -44,10 +44,6 @@ class CSVLexer extends Lexer {
|
|||
int lastChar = in.readAgain();
|
||||
|
||||
// read the next char and set eol
|
||||
/* note: unfortunately isEndOfLine may consumes a character silently.
|
||||
* this has no effect outside of the method. so a simple workaround
|
||||
* is to call 'readAgain' on the stream...
|
||||
*/
|
||||
int c = in.read();
|
||||
|
||||
if (isStartOfLine(lastChar) && isCommentStart(c)) {
|
||||
|
@ -56,6 +52,10 @@ class CSVLexer extends Lexer {
|
|||
return tkn;
|
||||
}
|
||||
|
||||
/* note: unfortunately isEndOfLine may consumes a character silently.
|
||||
* this has no effect outside of the method. so a simple workaround
|
||||
* is to call 'readAgain' on the stream...
|
||||
*/
|
||||
boolean eol = isEndOfLine(c);
|
||||
c = in.readAgain();
|
||||
|
||||
|
|
Loading…
Reference in New Issue