Skip to content

Commit c6bdeca

Browse files
committed
Fixes for typos in comments and javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1065549 13f79535-47bb-0310-9956-ffa450edef68
1 parent 58149e2 commit c6bdeca

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/java/org/apache/commons/csv/CSVParser.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public class CSVParser {
5555
private static final int INITIAL_TOKEN_LENGTH = 50;
5656

5757
// the token types
58-
/** Token has no valid content, i.e. is in its initilized state. */
58+
/** Token has no valid content, i.e. is in its initialized state. */
5959
protected static final int TT_INVALID = -1;
6060
/** Token with content, at beginning or in the middle of a line. */
6161
protected static final int TT_TOKEN = 0;
@@ -303,13 +303,13 @@ protected Token nextToken() throws IOException {
303303
* @throws IOException on stream access error
304304
*/
305305
protected Token nextToken(Token tkn) throws IOException {
306-
wsBuf.clear(); // resuse
306+
wsBuf.clear(); // reuse
307307

308308
// get the last read char (required for empty line detection)
309309
int lastChar = in.readAgain();
310310

311311
// read the next char and set eol
312-
/* note: unfourtunately isEndOfLine may consumes a character silently.
312+
/* note: unfortunately isEndOfLine may consumes a character silently.
313313
* this has no effect outside of the method. so a simple workaround
314314
* is to call 'readAgain' on the stream...
315315
* uh: might using objects instead of base-types (jdk1.5 autoboxing!)
@@ -336,7 +336,7 @@ protected Token nextToken(Token tkn) throws IOException {
336336
}
337337
}
338338

339-
// did we reached eof during the last iteration already ? TT_EOF
339+
// did we reach eof during the last iteration already ? TT_EOF
340340
if (isEndOfFile(lastChar) || (lastChar != strategy.getDelimiter() && isEndOfFile(c))) {
341341
tkn.type = TT_EOF;
342342
return tkn;

0 commit comments

Comments
 (0)