Skip to content

Commit

Permalink
Fix some Javadoc links like apache#442
Browse files Browse the repository at this point in the history
This commit uses the idea of the PR but not its implementation
  • Loading branch information
garydgregory committed Jul 9, 2024
1 parent d15d056 commit de8c231
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/changes/changes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
<!-- ADD -->
<!-- FIX -->
<action type="update" dev="ggregory" due-to="Gary Gregory">Fix PMD issues for port to PMD 7.1.0.</action>
<action type="update" dev="ggregory" due-to="Dávid Szigecsán, Gary Gregory">Fix some Javadoc links #442.</action>
<!-- UPDATE -->
<action type="update" dev="ggregory" due-to="Dependabot">Bump commons-codec:commons-codec from 1.16.1 to 1.17.0 #422.</action>
<action type="update" dev="ggregory" due-to="Gary Gregory"> Bump org.apache.commons:commons-parent from 69 to 71 #435.</action>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
import java.io.IOException;
import java.io.Reader;

import org.apache.commons.io.IOUtils;

/**
* A special buffered reader which supports sophisticated read access.
* <p>
Expand Down Expand Up @@ -84,7 +86,7 @@ long getCurrentLineNumber() {
* Returns the last character that was read as an integer (0 to 65535). This will be the last character returned by
* any of the read methods. This will not include a character read using the {@link #lookAhead()} method. If no
* character has been read then this will return {@link Constants#UNDEFINED}. If the end of the stream was reached
* on the last read then this will return {@link Constants#EOF}.
* on the last read then this will return {@link IOUtils#EOF}.
*
* @return the last character that was read
*/
Expand Down
4 changes: 3 additions & 1 deletion src/main/java/org/apache/commons/csv/Lexer.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
import java.io.Closeable;
import java.io.IOException;

import org.apache.commons.io.IOUtils;

/**
* Lexical analyzer.
*/
Expand Down Expand Up @@ -467,7 +469,7 @@ boolean readEndOfLine(int ch) throws IOException {
* On return, the next character is available by calling {@link ExtendedBufferedReader#getLastChar()}
* on the input stream.
*
* @return the unescaped character (as an int) or {@link Constants#EOF} if char following the escape is
* @return the unescaped character (as an int) or {@link IOUtils#EOF} if char following the escape is
* invalid.
* @throws IOException if there is a problem reading the stream or the end of stream is detected:
* the escape character is not allowed at end of stream
Expand Down

0 comments on commit de8c231

Please sign in to comment.