Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8067127: Tags cleanup
Reviewed-by: rriggs, dfuchs, lancea
  • Loading branch information
Brian Burkhalter committed Oct 7, 2020
1 parent 739347f commit db3053d
Show file tree
Hide file tree
Showing 13 changed files with 37 additions and 37 deletions.
10 changes: 5 additions & 5 deletions src/java.base/share/classes/java/io/BufferedInputStream.java
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1994, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1994, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -296,8 +296,8 @@ private int read1(byte[] b, int off, int len) throws IOException {
* starting at the given offset.
*
* <p> This method implements the general contract of the corresponding
* <code>{@link InputStream#read(byte[], int, int) read}</code> method of
* the <code>{@link InputStream}</code> class. As an additional
* {@link InputStream#read(byte[], int, int) read} method of
* the {@link InputStream} class. As an additional
* convenience, it attempts to read as many bytes as possible by repeatedly
* invoking the {@code read} method of the underlying stream. This
* iterated {@code read} continues until one of the following
Expand Down Expand Up @@ -394,8 +394,8 @@ public synchronized long skip(long n) throws IOException {
* many bytes will not block, but may read or skip fewer bytes.
* <p>
* This method returns the sum of the number of bytes remaining to be read in
* the buffer (<code>count&nbsp;- pos</code>) and the result of calling the
* {@link java.io.FilterInputStream#in in}.available().
* the buffer ({@code count - pos}) and the result of calling the
* {@link java.io.FilterInputStream#in in}{@code .available()}.
*
* @return an estimate of the number of bytes that can be read (or skipped
* over) from this input stream without blocking.
Expand Down
4 changes: 2 additions & 2 deletions src/java.base/share/classes/java/io/BufferedReader.java
Expand Up @@ -232,8 +232,8 @@ private int read1(char[] cbuf, int off, int len) throws IOException {
* Reads characters into a portion of an array.
*
* <p> This method implements the general contract of the corresponding
* <code>{@link Reader#read(char[], int, int) read}</code> method of the
* <code>{@link Reader}</code> class. As an additional convenience, it
* {@link Reader#read(char[], int, int) read} method of the
* {@link Reader} class. As an additional convenience, it
* attempts to read as many characters as possible by repeatedly invoking
* the {@code read} method of the underlying stream. This iterated
* {@code read} continues until one of the following conditions becomes
Expand Down
4 changes: 2 additions & 2 deletions src/java.base/share/classes/java/io/EOFException.java
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -53,7 +53,7 @@ public EOFException() {
/**
* Constructs an {@code EOFException} with the specified detail
* message. The string {@code s} may later be retrieved by the
* <code>{@link java.lang.Throwable#getMessage}</code> method of class
* {@link java.lang.Throwable#getMessage} method of class
* {@code java.lang.Throwable}.
*
* @param s the detail message.
Expand Down
8 changes: 4 additions & 4 deletions src/java.base/share/classes/java/io/FileFilter.java
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1998, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1998, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -29,9 +29,9 @@
/**
* A filter for abstract pathnames.
*
* <p> Instances of this interface may be passed to the <code>{@link
* File#listFiles(java.io.FileFilter) listFiles(FileFilter)}</code> method
* of the <code>{@link java.io.File}</code> class.
* <p> Instances of this interface may be passed to the
* {@link File#listFiles(java.io.FileFilter) listFiles(FileFilter)} method
* of the {@link java.io.File} class.
*
* @since 1.2
*/
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1994, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1994, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -56,7 +56,7 @@ public FileNotFoundException() {
* Constructs a {@code FileNotFoundException} with the
* specified detail message. The string {@code s} can be
* retrieved later by the
* <code>{@link java.lang.Throwable#getMessage}</code>
* {@link java.lang.Throwable#getMessage}
* method of class {@code java.lang.Throwable}.
*
* @param s the detail message.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -55,7 +55,7 @@ public InterruptedIOException() {
* Constructs an {@code InterruptedIOException} with the
* specified detail message. The string {@code s} can be
* retrieved later by the
* <code>{@link java.lang.Throwable#getMessage}</code>
* {@link java.lang.Throwable#getMessage}
* method of class {@code java.lang.Throwable}.
*
* @param s the detail message.
Expand Down
6 changes: 3 additions & 3 deletions src/java.base/share/classes/java/io/PipedInputStream.java
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -79,8 +79,8 @@ more sophisticated. Either using thread groups (but what about
/**
* The index of the position in the circular buffer at which the
* next byte of data will be stored when received from the connected
* piped output stream. <code>in&lt;0</code> implies the buffer is empty,
* {@code in==out} implies the buffer is full
* piped output stream. {@code in < 0} implies the buffer is empty,
* {@code in == out} implies the buffer is full
* @since 1.1
*/
protected int in = -1;
Expand Down
4 changes: 2 additions & 2 deletions src/java.base/share/classes/java/io/PipedReader.java
Expand Up @@ -58,8 +58,8 @@ more sophisticated. Either using thread groups (but what about
/**
* The index of the position in the circular buffer at which the
* next character of data will be stored when received from the connected
* piped writer. <code>in&lt;0</code> implies the buffer is empty,
* {@code in==out} implies the buffer is full
* piped writer. {@code in < 0} implies the buffer is empty,
* {@code in == out} implies the buffer is full
*/
int in = -1;

Expand Down
8 changes: 4 additions & 4 deletions src/java.base/share/classes/java/io/RandomAccessFile.java
Expand Up @@ -692,7 +692,7 @@ public final boolean readBoolean() throws IOException {
* Reads a signed eight-bit value from this file. This method reads a
* byte from the file, starting from the current file pointer.
* If the byte read is {@code b}, where
* <code>0&nbsp;&lt;=&nbsp;b&nbsp;&lt;=&nbsp;255</code>,
* {@code 0 <= b <= 255},
* then the result is:
* <blockquote><pre>
* (byte)(b)
Expand Down Expand Up @@ -766,7 +766,7 @@ public final short readShort() throws IOException {
* two bytes from the file, starting at the current file pointer.
* If the bytes read, in order, are
* {@code b1} and {@code b2}, where
* <code>0&nbsp;&lt;=&nbsp;b1, b2&nbsp;&lt;=&nbsp;255</code>,
* {@code 0 <= b1, b2 <= 255},
* then the result is equal to:
* <blockquote><pre>
* (b1 &lt;&lt; 8) | b2
Expand Down Expand Up @@ -794,7 +794,7 @@ public final int readUnsignedShort() throws IOException {
* bytes from the file, starting at the current file pointer.
* If the bytes read, in order, are
* {@code b1} and {@code b2}, where
* <code>0&nbsp;&lt;=&nbsp;b1,&nbsp;b2&nbsp;&lt;=&nbsp;255</code>,
* {@code 0 <= b1, b2 <= 255},
* then the result is equal to:
* <blockquote><pre>
* (char)((b1 &lt;&lt; 8) | b2)
Expand Down Expand Up @@ -822,7 +822,7 @@ public final char readChar() throws IOException {
* bytes from the file, starting at the current file pointer.
* If the bytes read, in order, are {@code b1},
* {@code b2}, {@code b3}, and {@code b4}, where
* <code>0&nbsp;&lt;=&nbsp;b1, b2, b3, b4&nbsp;&lt;=&nbsp;255</code>,
* {@code 0 <= b1, b2, b3, b4 <= 255},
* then the result is equal to:
* <blockquote><pre>
* (b1 &lt;&lt; 24) | (b2 &lt;&lt; 16) + (b3 &lt;&lt; 8) + b4
Expand Down
6 changes: 3 additions & 3 deletions src/java.base/share/classes/java/io/Serial.java
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -35,7 +35,7 @@
* serialization-related declarations, analogous to the checking
* enabled by the {@link java.lang.Override} annotation type to
* validate method overriding. {@code Serializable} classes are encouraged to
* use <code>&#64;Serial</code> annotations to help a compiler catch
* use {@code @Serial} annotations to help a compiler catch
* mis-declared serialization-related fields and methods,
* mis-declarations that may otherwise be difficult to detect.
*
Expand All @@ -60,7 +60,7 @@
* </ul>
*
* Compilers are encouraged to validate that a method or field marked with a
* <code>&#64;Serial</code> annotation is one of the defined serialization-related
* {@code @Serial} annotation is one of the defined serialization-related
* methods or fields declared in a meaningful context and issue a warning
* if that is not the case.
*
Expand Down
8 changes: 4 additions & 4 deletions src/java.base/share/classes/java/io/StreamTokenizer.java
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -264,7 +264,7 @@ public void resetSyntax() {

/**
* Specifies that all characters <i>c</i> in the range
* <code>low&nbsp;&lt;=&nbsp;<i>c</i>&nbsp;&lt;=&nbsp;high</code>
* {@code low <= c <= high}
* are word constituents. A word token consists of a word constituent
* followed by zero or more word constituents or number constituents.
*
Expand All @@ -282,7 +282,7 @@ public void wordChars(int low, int hi) {

/**
* Specifies that all characters <i>c</i> in the range
* <code>low&nbsp;&lt;=&nbsp;<i>c</i>&nbsp;&lt;=&nbsp;high</code>
* {@code low <= c <= high}
* are white space characters. White space characters serve only to
* separate tokens in the input stream.
*
Expand All @@ -303,7 +303,7 @@ public void whitespaceChars(int low, int hi) {

/**
* Specifies that all characters <i>c</i> in the range
* <code>low&nbsp;&lt;=&nbsp;<i>c</i>&nbsp;&lt;=&nbsp;high</code>
* {@code low <= c <= high}
* are "ordinary" in this tokenizer. See the
* {@code ordinaryChar} method for more information on a
* character being ordinary.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -153,7 +153,7 @@ public synchronized long skip(long n) {
* Returns the number of bytes that can be read from the input
* stream without blocking.
*
* @return the value of <code>count&nbsp;-&nbsp;pos</code>, which is the
* @return the value of {@code count - pos}, which is the
* number of bytes remaining to be read from the input buffer.
*/
public synchronized int available() {
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -58,7 +58,7 @@ public UTFDataFormatException() {
* Constructs a {@code UTFDataFormatException} with the
* specified detail message. The string {@code s} can be
* retrieved later by the
* <code>{@link java.lang.Throwable#getMessage}</code>
* {@link java.lang.Throwable#getMessage}
* method of class {@code java.lang.Throwable}.
*
* @param s the detail message.
Expand Down

1 comment on commit db3053d

@bridgekeeper
Copy link

@bridgekeeper bridgekeeper bot commented on db3053d Oct 7, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.