File tree Expand file tree Collapse file tree
src/main/java/org/apache/commons/csv Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments