Skip to content

Commit 81aa2b9

Browse files
author
Gary Gregory
committed
Javadoc @see tags do not need to use a FQCN for classes in java.lang
1 parent f775179 commit 81aa2b9

5 files changed

Lines changed: 13 additions & 13 deletions

File tree

src/main/java/org/apache/commons/io/ByteOrderMark.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public String getCharsetName() {
149149
* Computes the hashcode for this BOM.
150150
*
151151
* @return the hashcode for this BOM.
152-
* @see java.lang.Object#hashCode()
152+
* @see Object#hashCode()
153153
*/
154154
@Override
155155
public int hashCode() {

src/main/java/org/apache/commons/io/IOUtils.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ private static void closeQ(final Closeable closeable) {
479479
* @param closeable the objects to close, may be null or already closed
480480
* @since 2.0
481481
*
482-
* @see Throwable#addSuppressed(java.lang.Throwable)
482+
* @see Throwable#addSuppressed(Throwable)
483483
*/
484484
public static void closeQuietly(final Closeable closeable) {
485485
closeQuietly(closeable, null);
@@ -529,7 +529,7 @@ public static void closeQuietly(final Closeable closeable) {
529529
* @param closeables the objects to close, may be null or already closed
530530
* @see #closeQuietly(Closeable)
531531
* @since 2.5
532-
* @see Throwable#addSuppressed(java.lang.Throwable)
532+
* @see Throwable#addSuppressed(Throwable)
533533
*/
534534
public static void closeQuietly(final Closeable... closeables) {
535535
if (closeables != null) {
@@ -583,7 +583,7 @@ public static void closeQuietly(final Closeable closeable, final Consumer<IOExce
583583
* </p>
584584
*
585585
* @param input the InputStream to close, may be null or already closed
586-
* @see Throwable#addSuppressed(java.lang.Throwable)
586+
* @see Throwable#addSuppressed(Throwable)
587587
*/
588588
public static void closeQuietly(final InputStream input) {
589589
closeQ(input);
@@ -633,7 +633,7 @@ public static void closeQuietly(final Iterable<Closeable> closeables) {
633633
* </p>
634634
*
635635
* @param output the OutputStream to close, may be null or already closed
636-
* @see Throwable#addSuppressed(java.lang.Throwable)
636+
* @see Throwable#addSuppressed(Throwable)
637637
*/
638638
public static void closeQuietly(final OutputStream output) {
639639
closeQ(output);
@@ -666,7 +666,7 @@ public static void closeQuietly(final OutputStream output) {
666666
* </p>
667667
*
668668
* @param reader the Reader to close, may be null or already closed
669-
* @see Throwable#addSuppressed(java.lang.Throwable)
669+
* @see Throwable#addSuppressed(Throwable)
670670
*/
671671
public static void closeQuietly(final Reader reader) {
672672
closeQ(reader);
@@ -699,7 +699,7 @@ public static void closeQuietly(final Reader reader) {
699699
*
700700
* @param selector the Selector to close, may be null or already closed
701701
* @since 2.2
702-
* @see Throwable#addSuppressed(java.lang.Throwable)
702+
* @see Throwable#addSuppressed(Throwable)
703703
*/
704704
public static void closeQuietly(final Selector selector) {
705705
closeQ(selector);
@@ -732,7 +732,7 @@ public static void closeQuietly(final Selector selector) {
732732
*
733733
* @param serverSocket the ServerSocket to close, may be null or already closed
734734
* @since 2.2
735-
* @see Throwable#addSuppressed(java.lang.Throwable)
735+
* @see Throwable#addSuppressed(Throwable)
736736
*/
737737
public static void closeQuietly(final ServerSocket serverSocket) {
738738
closeQ(serverSocket);
@@ -765,7 +765,7 @@ public static void closeQuietly(final ServerSocket serverSocket) {
765765
*
766766
* @param socket the Socket to close, may be null or already closed
767767
* @since 2.0
768-
* @see Throwable#addSuppressed(java.lang.Throwable)
768+
* @see Throwable#addSuppressed(Throwable)
769769
*/
770770
public static void closeQuietly(final Socket socket) {
771771
closeQ(socket);
@@ -813,7 +813,7 @@ public static void closeQuietly(final Stream<Closeable> closeables) {
813813
* </p>
814814
*
815815
* @param writer the Writer to close, may be null or already closed
816-
* @see Throwable#addSuppressed(java.lang.Throwable)
816+
* @see Throwable#addSuppressed(Throwable)
817817
*/
818818
public static void closeQuietly(final Writer writer) {
819819
closeQ(writer);

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

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* </p>
2929
*
3030
* @since 2.5
31-
* @see java.lang.Appendable
31+
* @see Appendable
3232
*
3333
* @param <T> The type of the {@link Appendable} wrapped by this AppendableOutputStream.
3434
*/

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* </p>
3030
*
3131
* @since 2.7
32-
* @see java.lang.Appendable
32+
* @see Appendable
3333
*
3434
* @param <T> The type of the {@link Appendable} wrapped by this AppendableWriter.
3535
*/

0 commit comments

Comments
 (0)