Skip to content

Commit 3c0677e

Browse files
committed
Javadoc
No need to a FQCN in these cases
1 parent 8fb7cbc commit 3c0677e

10 files changed

Lines changed: 17 additions & 17 deletions

src/main/java/org/apache/commons/io/input/BoundedReader.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public void close() throws IOException {
7777
* is no way to pass past maxCharsFromTargetReader, even if this value is greater.
7878
*
7979
* @throws IOException If an I/O error occurs while calling the underlying reader's mark method
80-
* @see java.io.Reader#mark(int)
80+
* @see Reader#mark(int)
8181
*/
8282
@Override
8383
public void mark(final int readAheadLimit) throws IOException {
@@ -93,7 +93,7 @@ public void mark(final int readAheadLimit) throws IOException {
9393
*
9494
* @return -1 on EOF or the character read
9595
* @throws IOException If an I/O error occurs while calling the underlying reader's read method
96-
* @see java.io.Reader#read()
96+
* @see Reader#read()
9797
*/
9898
@Override
9999
public int read() throws IOException {
@@ -117,7 +117,7 @@ public int read() throws IOException {
117117
* @param len The number of chars to read
118118
* @return the number of chars read
119119
* @throws IOException If an I/O error occurs while calling the underlying reader's read method
120-
* @see java.io.Reader#read(char[], int, int)
120+
* @see Reader#read(char[], int, int)
121121
*/
122122
@Override
123123
public int read(final char[] cbuf, final int off, final int len) throws IOException {
@@ -136,7 +136,7 @@ public int read(final char[] cbuf, final int off, final int len) throws IOExcept
136136
* Resets the target to the latest mark,
137137
*
138138
* @throws IOException If an I/O error occurs while calling the underlying reader's reset method
139-
* @see java.io.Reader#reset()
139+
* @see Reader#reset()
140140
*/
141141
@Override
142142
public void reset() throws IOException {

src/main/java/org/apache/commons/io/input/ClassLoaderObjectInputStream.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ protected Class<?> resolveClass(final ObjectStreamClass objectStreamClass)
8080
* @return a proxy class implementing the interfaces
8181
* @throws IOException in case of an I/O error
8282
* @throws ClassNotFoundException if the Class cannot be found
83-
* @see java.io.ObjectInputStream#resolveProxyClass(String[])
83+
* @see ObjectInputStream#resolveProxyClass(String[])
8484
* @since 2.1
8585
*/
8686
@Override

src/main/java/org/apache/commons/io/input/CountingInputStream.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ public int resetCount() {
150150
* @param length the number of bytes to skip
151151
* @return the actual number of bytes skipped
152152
* @throws IOException if an I/O error occurs.
153-
* @see java.io.InputStream#skip(long)
153+
* @see InputStream#skip(long)
154154
*/
155155
@Override
156156
public synchronized long skip(final long length) throws IOException {

src/main/java/org/apache/commons/io/input/SequenceReader.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public SequenceReader(final Reader... readers) {
6262
/*
6363
* (non-Javadoc)
6464
*
65-
* @see java.io.Reader#close()
65+
* @see Reader#close()
6666
*/
6767
@Override
6868
public void close() throws IOException {
@@ -92,7 +92,7 @@ private Reader nextReader() throws IOException {
9292
/*
9393
* (non-Javadoc)
9494
*
95-
* @see java.io.Reader#read(char[], int, int)
95+
* @see Reader#read(char[], int, int)
9696
*/
9797
@Override
9898
public int read() throws IOException {
@@ -110,7 +110,7 @@ public int read() throws IOException {
110110
/*
111111
* (non-Javadoc)
112112
*
113-
* @see java.io.Reader#read()
113+
* @see Reader#read()
114114
*/
115115
@Override
116116
public int read(final char[] cbuf, int off, int len) throws IOException {

src/main/java/org/apache/commons/io/output/NullWriter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,13 @@ public Writer append(final CharSequence csq, final int start, final int end) {
8888
return this;
8989
}
9090

91-
/** @see java.io.Writer#close() */
91+
/** @see Writer#close() */
9292
@Override
9393
public void close() {
9494
//to /dev/null
9595
}
9696

97-
/** @see java.io.Writer#flush() */
97+
/** @see Writer#flush() */
9898
@Override
9999
public void flush() {
100100
//to /dev/null

src/test/java/org/apache/commons/io/test/ThrowOnCloseInputStream.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public ThrowOnCloseInputStream(final InputStream proxy) {
4646
/**
4747
* Always throws IOException.
4848
*
49-
* @see java.io.InputStream#close()
49+
* @see InputStream#close()
5050
*/
5151
@Override
5252
public void close() throws IOException {

src/test/java/org/apache/commons/io/test/ThrowOnCloseOutputStream.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public ThrowOnCloseOutputStream(final OutputStream proxy) {
4141
super(proxy);
4242
}
4343

44-
/** @see java.io.OutputStream#close() */
44+
/** @see OutputStream#close() */
4545
@Override
4646
public void close() throws IOException {
4747
throw new IOException(getClass().getSimpleName() + ".close() called.");

src/test/java/org/apache/commons/io/test/ThrowOnCloseReader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public ThrowOnCloseReader(final Reader proxy) {
4141
super(proxy);
4242
}
4343

44-
/** @see java.io.Reader#close() */
44+
/** @see Reader#close() */
4545
@Override
4646
public void close() throws IOException {
4747
throw new IOException(getClass().getSimpleName() + ".close() called.");

src/test/java/org/apache/commons/io/test/ThrowOnCloseWriter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public ThrowOnCloseWriter(final Writer proxy) {
4141
super(proxy);
4242
}
4343

44-
/** @see java.io.Writer#close() */
44+
/** @see Writer#close() */
4545
@Override
4646
public void close() throws IOException {
4747
throw new IOException(getClass().getSimpleName() + ".close() called.");

src/test/java/org/apache/commons/io/test/ThrowOnFlushAndCloseOutputStream.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public ThrowOnFlushAndCloseOutputStream(final OutputStream proxy, final boolean
4343
this.throwOnClose = throwOnClose;
4444
}
4545

46-
/** @see java.io.OutputStream#close() */
46+
/** @see OutputStream#close() */
4747
@Override
4848
public void close() throws IOException {
4949
if (throwOnClose) {
@@ -52,7 +52,7 @@ public void close() throws IOException {
5252
super.close();
5353
}
5454

55-
/** @see java.io.OutputStream#flush() */
55+
/** @see OutputStream#flush() */
5656
@Override
5757
public void flush() throws IOException {
5858
if (throwOnFlush) {

0 commit comments

Comments
 (0)