File tree Expand file tree Collapse file tree
src/java/org/apache/commons/io Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -514,9 +514,8 @@ public static List readLines(Reader input) throws IOException {
514514 * <code>LineIterator</code> holds a reference to the open
515515 * <code>Reader</code> specified here. When you have finished with the
516516 * iterator you should close the reader to free internal resources.
517- * This can be done by closing the reader directly, or by calling the
518- * {@link #close()} or {@link #closeQuietly(LineIterator)} method on
519- * the iterator.
517+ * This can be done by closing the reader directly, or by calling
518+ * {@link LineIterator#close()} or {@link LineIterator#closeQuietly(LineIterator)}.
520519 * <p>
521520 * The recommended usage pattern is:
522521 * <pre>
@@ -546,10 +545,9 @@ public static LineIterator lineIterator(Reader reader) {
546545 * <p>
547546 * <code>LineIterator</code> holds a reference to the open
548547 * <code>InputStream</code> specified here. When you have finished with
549- * the iterator you should close the reader to free internal resources.
550- * This can be done by closing the reader directly, or by calling the
551- * {@link #close()} or {@link #closeQuietly(LineIterator)} method on
552- * the iterator.
548+ * the iterator you should close the stream to free internal resources.
549+ * This can be done by closing the stream directly, or by calling
550+ * {@link LineIterator#close()} or {@link LineIterator#closeQuietly(LineIterator)}.
553551 * <p>
554552 * The recommended usage pattern is:
555553 * <pre>
You can’t perform that action at this time.
0 commit comments