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 @@ -64,8 +64,8 @@ public int read() throws IOException {
6464 /**
6565 * Returns the last character that was read as an integer (0 to 65535). This will be the last character returned by
6666 * any of the read methods. This will not include a character read using the {@link #lookAhead()} method. If no
67- * character has been read then this will return {@link Constants#UNDEFINED}. If the end of the stream was reached on the
68- * last read then this will return {@link Constants#END_OF_STREAM}.
67+ * character has been read then this will return {@link Constants#UNDEFINED}. If the end of the stream was reached
68+ * on the last read then this will return {@link Constants#END_OF_STREAM}.
6969 *
7070 * @return the last character that was read
7171 */
@@ -157,22 +157,22 @@ long getCurrentLineNumber() {
157157 return eolCounter + 1 ; // Allow for counter being incremented only at EOL
158158 }
159159
160- public boolean isClosed () {
161- return closed ;
162- }
163-
164- /**
165- * Closes the stream.
166- *
167- * @throws IOException
168- * If an I/O error occurs
169- */
170- @ Override
171- public void close () throws IOException {
172- // Set ivars before calling super close() in case close() throws an IOException.
173- closed = true ;
174- lastChar = END_OF_STREAM ;
175- super .close ();
176- }
160+ public boolean isClosed () {
161+ return closed ;
162+ }
163+
164+ /**
165+ * Closes the stream.
166+ *
167+ * @throws IOException
168+ * If an I/O error occurs
169+ */
170+ @ Override
171+ public void close () throws IOException {
172+ // Set ivars before calling super close() in case close() throws an IOException.
173+ closed = true ;
174+ lastChar = END_OF_STREAM ;
175+ super .close ();
176+ }
177177
178178}
You can’t perform that action at this time.
0 commit comments