Skip to content

Commit 346e217

Browse files
authored
Javadoc
1 parent d103cba commit 346e217

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ final class ExtendedBufferedReader extends BufferedReader {
4141
/** The count of EOLs (CR/LF/CRLF) seen so far */
4242
private long eolCounter;
4343

44-
/** The position, which is number of characters read so far */
44+
/** The position, which is the number of characters read so far */
4545
private long position;
4646

4747
private boolean closed;
4848

4949
/**
50-
* Created extended buffered reader using default buffer-size
50+
* Constructs a new instance using the default buffer size.
5151
*/
5252
ExtendedBufferedReader(final Reader reader) {
5353
super(reader);
@@ -107,7 +107,7 @@ public boolean isClosed() {
107107

108108
/**
109109
* Returns the next character in the current reader without consuming it. So the next call to {@link #read()} will
110-
* still return this value. Does not affect line number or last character.
110+
* still return this value. Does not affect the line number or the last character.
111111
*
112112
* @return the next character
113113
*
@@ -125,7 +125,7 @@ int lookAhead() throws IOException {
125125
/**
126126
* Populates the buffer with the next {@code buf.length} characters in the
127127
* current reader without consuming them. The next call to {@link #read()} will
128-
* still return the next value. This doesn't affect line number or last
128+
* still return the next value. This doesn't affect the line number or the last
129129
* character.
130130
*
131131
* @param buf the buffer to fill for the look ahead.
@@ -199,7 +199,7 @@ public int read(final char[] buf, final int offset, final int length) throws IOE
199199

200200
/**
201201
* Gets the next line, dropping the line terminator(s). This method should only be called when processing a
202-
* comment, otherwise information can be lost.
202+
* comment, otherwise, information can be lost.
203203
* <p>
204204
* Increments {@link #eolCounter} and updates {@link #position}.
205205
* </p>

0 commit comments

Comments
 (0)