Skip to content

Commit e697318

Browse files
committed
Fix Javadoc to current behaviour
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1479712 13f79535-47bb-0310-9956-ffa450edef68
1 parent 4f61bd1 commit e697318

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ int lookAhead() throws IOException {
145145
/**
146146
* Returns the number of lines read
147147
*
148-
* @return the current-line-number
148+
* @return the number of EOLs seen so far
149149
*/
150150
long getLineNumber() {
151151
return lineCounter;

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@ private final char mapNullToDisabled(final Character c) {
6969
return c == null ? DISABLED : c.charValue();
7070
}
7171

72+
/**
73+
* Returns the number of lines read
74+
*
75+
* @return the number of EOLs seen so far
76+
*/
7277
long getLineNumber() {
7378
return in.getLineNumber();
7479
}

0 commit comments

Comments
 (0)