Skip to content

Commit db3053d

Browse files
author
Brian Burkhalter
committed
8067127: Tags cleanup
Reviewed-by: rriggs, dfuchs, lancea
1 parent 739347f commit db3053d

13 files changed

+37
-37
lines changed

src/java.base/share/classes/java/io/BufferedInputStream.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 1994, 2019, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 1994, 2020, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -296,8 +296,8 @@ private int read1(byte[] b, int off, int len) throws IOException {
296296
* starting at the given offset.
297297
*
298298
* <p> This method implements the general contract of the corresponding
299-
* <code>{@link InputStream#read(byte[], int, int) read}</code> method of
300-
* the <code>{@link InputStream}</code> class. As an additional
299+
* {@link InputStream#read(byte[], int, int) read} method of
300+
* the {@link InputStream} class. As an additional
301301
* convenience, it attempts to read as many bytes as possible by repeatedly
302302
* invoking the {@code read} method of the underlying stream. This
303303
* iterated {@code read} continues until one of the following
@@ -394,8 +394,8 @@ public synchronized long skip(long n) throws IOException {
394394
* many bytes will not block, but may read or skip fewer bytes.
395395
* <p>
396396
* This method returns the sum of the number of bytes remaining to be read in
397-
* the buffer (<code>count&nbsp;- pos</code>) and the result of calling the
398-
* {@link java.io.FilterInputStream#in in}.available().
397+
* the buffer ({@code count - pos}) and the result of calling the
398+
* {@link java.io.FilterInputStream#in in}{@code .available()}.
399399
*
400400
* @return an estimate of the number of bytes that can be read (or skipped
401401
* over) from this input stream without blocking.

src/java.base/share/classes/java/io/BufferedReader.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,8 @@ private int read1(char[] cbuf, int off, int len) throws IOException {
232232
* Reads characters into a portion of an array.
233233
*
234234
* <p> This method implements the general contract of the corresponding
235-
* <code>{@link Reader#read(char[], int, int) read}</code> method of the
236-
* <code>{@link Reader}</code> class. As an additional convenience, it
235+
* {@link Reader#read(char[], int, int) read} method of the
236+
* {@link Reader} class. As an additional convenience, it
237237
* attempts to read as many characters as possible by repeatedly invoking
238238
* the {@code read} method of the underlying stream. This iterated
239239
* {@code read} continues until one of the following conditions becomes

src/java.base/share/classes/java/io/EOFException.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 1995, 2019, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 1995, 2020, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -53,7 +53,7 @@ public EOFException() {
5353
/**
5454
* Constructs an {@code EOFException} with the specified detail
5555
* message. The string {@code s} may later be retrieved by the
56-
* <code>{@link java.lang.Throwable#getMessage}</code> method of class
56+
* {@link java.lang.Throwable#getMessage} method of class
5757
* {@code java.lang.Throwable}.
5858
*
5959
* @param s the detail message.

src/java.base/share/classes/java/io/FileFilter.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 1998, 2019, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 1998, 2020, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -29,9 +29,9 @@
2929
/**
3030
* A filter for abstract pathnames.
3131
*
32-
* <p> Instances of this interface may be passed to the <code>{@link
33-
* File#listFiles(java.io.FileFilter) listFiles(FileFilter)}</code> method
34-
* of the <code>{@link java.io.File}</code> class.
32+
* <p> Instances of this interface may be passed to the
33+
* {@link File#listFiles(java.io.FileFilter) listFiles(FileFilter)} method
34+
* of the {@link java.io.File} class.
3535
*
3636
* @since 1.2
3737
*/

src/java.base/share/classes/java/io/FileNotFoundException.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 1994, 2019, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 1994, 2020, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -56,7 +56,7 @@ public FileNotFoundException() {
5656
* Constructs a {@code FileNotFoundException} with the
5757
* specified detail message. The string {@code s} can be
5858
* retrieved later by the
59-
* <code>{@link java.lang.Throwable#getMessage}</code>
59+
* {@link java.lang.Throwable#getMessage}
6060
* method of class {@code java.lang.Throwable}.
6161
*
6262
* @param s the detail message.

src/java.base/share/classes/java/io/InterruptedIOException.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 1995, 2019, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 1995, 2020, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -55,7 +55,7 @@ public InterruptedIOException() {
5555
* Constructs an {@code InterruptedIOException} with the
5656
* specified detail message. The string {@code s} can be
5757
* retrieved later by the
58-
* <code>{@link java.lang.Throwable#getMessage}</code>
58+
* {@link java.lang.Throwable#getMessage}
5959
* method of class {@code java.lang.Throwable}.
6060
*
6161
* @param s the detail message.

src/java.base/share/classes/java/io/PipedInputStream.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 1995, 2019, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 1995, 2020, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -79,8 +79,8 @@ more sophisticated. Either using thread groups (but what about
7979
/**
8080
* The index of the position in the circular buffer at which the
8181
* next byte of data will be stored when received from the connected
82-
* piped output stream. <code>in&lt;0</code> implies the buffer is empty,
83-
* {@code in==out} implies the buffer is full
82+
* piped output stream. {@code in < 0} implies the buffer is empty,
83+
* {@code in == out} implies the buffer is full
8484
* @since 1.1
8585
*/
8686
protected int in = -1;

src/java.base/share/classes/java/io/PipedReader.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ more sophisticated. Either using thread groups (but what about
5858
/**
5959
* The index of the position in the circular buffer at which the
6060
* next character of data will be stored when received from the connected
61-
* piped writer. <code>in&lt;0</code> implies the buffer is empty,
62-
* {@code in==out} implies the buffer is full
61+
* piped writer. {@code in < 0} implies the buffer is empty,
62+
* {@code in == out} implies the buffer is full
6363
*/
6464
int in = -1;
6565

src/java.base/share/classes/java/io/RandomAccessFile.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ public final boolean readBoolean() throws IOException {
692692
* Reads a signed eight-bit value from this file. This method reads a
693693
* byte from the file, starting from the current file pointer.
694694
* If the byte read is {@code b}, where
695-
* <code>0&nbsp;&lt;=&nbsp;b&nbsp;&lt;=&nbsp;255</code>,
695+
* {@code 0 <= b <= 255},
696696
* then the result is:
697697
* <blockquote><pre>
698698
* (byte)(b)
@@ -766,7 +766,7 @@ public final short readShort() throws IOException {
766766
* two bytes from the file, starting at the current file pointer.
767767
* If the bytes read, in order, are
768768
* {@code b1} and {@code b2}, where
769-
* <code>0&nbsp;&lt;=&nbsp;b1, b2&nbsp;&lt;=&nbsp;255</code>,
769+
* {@code 0 <= b1, b2 <= 255},
770770
* then the result is equal to:
771771
* <blockquote><pre>
772772
* (b1 &lt;&lt; 8) | b2
@@ -794,7 +794,7 @@ public final int readUnsignedShort() throws IOException {
794794
* bytes from the file, starting at the current file pointer.
795795
* If the bytes read, in order, are
796796
* {@code b1} and {@code b2}, where
797-
* <code>0&nbsp;&lt;=&nbsp;b1,&nbsp;b2&nbsp;&lt;=&nbsp;255</code>,
797+
* {@code 0 <= b1, b2 <= 255},
798798
* then the result is equal to:
799799
* <blockquote><pre>
800800
* (char)((b1 &lt;&lt; 8) | b2)
@@ -822,7 +822,7 @@ public final char readChar() throws IOException {
822822
* bytes from the file, starting at the current file pointer.
823823
* If the bytes read, in order, are {@code b1},
824824
* {@code b2}, {@code b3}, and {@code b4}, where
825-
* <code>0&nbsp;&lt;=&nbsp;b1, b2, b3, b4&nbsp;&lt;=&nbsp;255</code>,
825+
* {@code 0 <= b1, b2, b3, b4 <= 255},
826826
* then the result is equal to:
827827
* <blockquote><pre>
828828
* (b1 &lt;&lt; 24) | (b2 &lt;&lt; 16) + (b3 &lt;&lt; 8) + b4

src/java.base/share/classes/java/io/Serial.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -35,7 +35,7 @@
3535
* serialization-related declarations, analogous to the checking
3636
* enabled by the {@link java.lang.Override} annotation type to
3737
* validate method overriding. {@code Serializable} classes are encouraged to
38-
* use <code>&#64;Serial</code> annotations to help a compiler catch
38+
* use {@code @Serial} annotations to help a compiler catch
3939
* mis-declared serialization-related fields and methods,
4040
* mis-declarations that may otherwise be difficult to detect.
4141
*
@@ -60,7 +60,7 @@
6060
* </ul>
6161
*
6262
* Compilers are encouraged to validate that a method or field marked with a
63-
* <code>&#64;Serial</code> annotation is one of the defined serialization-related
63+
* {@code @Serial} annotation is one of the defined serialization-related
6464
* methods or fields declared in a meaningful context and issue a warning
6565
* if that is not the case.
6666
*

0 commit comments

Comments
 (0)