Skip to content

Commit de8c231

Browse files
committed
Fix some Javadoc links like #442
This commit uses the idea of the PR but not its implementation
1 parent d15d056 commit de8c231

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

src/changes/changes.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
<!-- ADD -->
4545
<!-- FIX -->
4646
<action type="update" dev="ggregory" due-to="Gary Gregory">Fix PMD issues for port to PMD 7.1.0.</action>
47+
<action type="update" dev="ggregory" due-to="Dávid Szigecsán, Gary Gregory">Fix some Javadoc links #442.</action>
4748
<!-- UPDATE -->
4849
<action type="update" dev="ggregory" due-to="Dependabot">Bump commons-codec:commons-codec from 1.16.1 to 1.17.0 #422.</action>
4950
<action type="update" dev="ggregory" due-to="Gary Gregory"> Bump org.apache.commons:commons-parent from 69 to 71 #435.</action>

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
import java.io.IOException;
2727
import java.io.Reader;
2828

29+
import org.apache.commons.io.IOUtils;
30+
2931
/**
3032
* A special buffered reader which supports sophisticated read access.
3133
* <p>
@@ -84,7 +86,7 @@ long getCurrentLineNumber() {
8486
* Returns the last character that was read as an integer (0 to 65535). This will be the last character returned by
8587
* any of the read methods. This will not include a character read using the {@link #lookAhead()} method. If no
8688
* character has been read then this will return {@link Constants#UNDEFINED}. If the end of the stream was reached
87-
* on the last read then this will return {@link Constants#EOF}.
89+
* on the last read then this will return {@link IOUtils#EOF}.
8890
*
8991
* @return the last character that was read
9092
*/

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
import java.io.Closeable;
2323
import java.io.IOException;
2424

25+
import org.apache.commons.io.IOUtils;
26+
2527
/**
2628
* Lexical analyzer.
2729
*/
@@ -467,7 +469,7 @@ boolean readEndOfLine(int ch) throws IOException {
467469
* On return, the next character is available by calling {@link ExtendedBufferedReader#getLastChar()}
468470
* on the input stream.
469471
*
470-
* @return the unescaped character (as an int) or {@link Constants#EOF} if char following the escape is
472+
* @return the unescaped character (as an int) or {@link IOUtils#EOF} if char following the escape is
471473
* invalid.
472474
* @throws IOException if there is a problem reading the stream or the end of stream is detected:
473475
* the escape character is not allowed at end of stream

0 commit comments

Comments
 (0)