@@ -68,8 +68,8 @@ final class Lexer implements Closeable {
6868 /**
6969 * Appends the next escaped character to the token's content.
7070 *
71- * @param token the current token
72- * @throws IOException on stream access error
71+ * @param token the current token.
72+ * @throws IOException on stream access error.
7373 * @throws CSVException Thrown on invalid input.
7474 */
7575 private void appendNextEscapedCharacterToToken (final Token token ) throws IOException {
@@ -89,35 +89,35 @@ private void appendNextEscapedCharacterToToken(final Token token) throws IOExcep
8989 * Closes resources.
9090 *
9191 * @throws IOException
92- * If an I/O error occurs
92+ * If an I/O error occurs.
9393 */
9494 @ Override
9595 public void close () throws IOException {
9696 reader .close ();
9797 }
9898
9999 /**
100- * Gets the number of bytes read
100+ * Gets the number of bytes read.
101101 *
102- * @return the number of bytes read
102+ * @return the number of bytes read.
103103 */
104104 long getBytesRead () {
105105 return reader .getBytesRead ();
106106 }
107107
108108 /**
109- * Returns the current character position
109+ * Gets the current character position.
110110 *
111- * @return the current character position
111+ * @return the current character position.
112112 */
113113 long getCharacterPosition () {
114114 return reader .getPosition ();
115115 }
116116
117117 /**
118- * Returns the current line number
118+ * Gets the current line number.
119119 *
120- * @return the current line number
120+ * @return the current line number.
121121 */
122122 long getCurrentLineNumber () {
123123 return reader .getLineNumber ();
@@ -136,7 +136,7 @@ boolean isCommentStart(final int ch) {
136136 }
137137
138138 /**
139- * Determine whether the next characters constitute a delimiter through {@link ExtendedBufferedReader#peek(char[])}.
139+ * Tests whether the next characters constitute a delimiter through {@link ExtendedBufferedReader#peek(char[])}.
140140 *
141141 * @param ch
142142 * the current character.
@@ -214,7 +214,7 @@ boolean isQuoteChar(final int ch) {
214214 /**
215215 * Tests if the current character represents the start of a line: a CR, LF, or is at the start of the file.
216216 *
217- * @param ch the character to check
217+ * @param ch the character to check.
218218 * @return true if the character is at the start of a line.
219219 */
220220 boolean isStartOfLine (final int ch ) {
@@ -400,10 +400,10 @@ private Token parseEncapsulatedToken(final Token token) throws IOException {
400400 * <li>An unescaped delimiter has been reached (TOKEN)</li>
401401 * </ul>
402402 *
403- * @param token the current token
404- * @param ch the current character
405- * @return the filled token
406- * @throws IOException on stream access error
403+ * @param token the current token.
404+ * @param ch the current character.
405+ * @return the filled token.
406+ * @throws IOException on stream access error.
407407 * @throws CSVException Thrown on invalid input.
408408 */
409409 private Token parseSimpleToken (final Token token , final int ch ) throws IOException {
@@ -442,7 +442,7 @@ private Token parseSimpleToken(final Token token, final int ch) throws IOExcepti
442442 /**
443443 * Greedily accepts \n, \r and \r\n This checker consumes silently the second control-character...
444444 *
445- * @return true if the given or next character is a line-terminator
445+ * @return true if the given or next character is a line-terminator.
446446 */
447447 boolean readEndOfLine (final int ch ) throws IOException {
448448 // check if we have \r\n...
0 commit comments