8255262: Remove use of legacy custom @spec tag

Reviewed-by: lancea, mr, iris, alanb, darcy, mchung
This commit is contained in:
Jonathan Gibbons 2020-10-22 19:42:01 +00:00
parent a0b687bfb2
commit 0aa3c92577
69 changed files with 0 additions and 209 deletions

View file

@ -342,7 +342,6 @@ public class FileInputStream extends InputStream
* @throws IOException if an I/O error occurs.
*
* @revised 1.4
* @spec JSR-51
*/
public void close() throws IOException {
if (closed) {
@ -400,7 +399,6 @@ public class FileInputStream extends InputStream
* @return the file channel associated with this file input stream
*
* @since 1.4
* @spec JSR-51
*/
public FileChannel getChannel() {
FileChannel fc = this.channel;

View file

@ -366,7 +366,6 @@ public class FileOutputStream extends OutputStream
* @throws IOException if an I/O error occurs.
*
* @revised 1.4
* @spec JSR-51
*/
public void close() throws IOException {
if (closed) {
@ -425,7 +424,6 @@ public class FileOutputStream extends OutputStream
* @return the file channel associated with this file output stream
*
* @since 1.4
* @spec JSR-51
*/
public FileChannel getChannel() {
FileChannel fc = this.channel;

View file

@ -103,7 +103,6 @@ public class InputStreamReader extends Reader {
* @param cs A charset
*
* @since 1.4
* @spec JSR-51
*/
public InputStreamReader(InputStream in, Charset cs) {
super(in);
@ -119,7 +118,6 @@ public class InputStreamReader extends Reader {
* @param dec A charset decoder
*
* @since 1.4
* @spec JSR-51
*/
public InputStreamReader(InputStream in, CharsetDecoder dec) {
super(in);
@ -146,7 +144,6 @@ public class InputStreamReader extends Reader {
* @see java.nio.charset.Charset
*
* @revised 1.4
* @spec JSR-51
*/
public String getEncoding() {
return sd.getEncoding();

View file

@ -120,7 +120,6 @@ public class OutputStreamWriter extends Writer {
* A charset
*
* @since 1.4
* @spec JSR-51
*/
public OutputStreamWriter(OutputStream out, Charset cs) {
super(out);
@ -139,7 +138,6 @@ public class OutputStreamWriter extends Writer {
* A charset encoder
*
* @since 1.4
* @spec JSR-51
*/
public OutputStreamWriter(OutputStream out, CharsetEncoder enc) {
super(out);
@ -166,7 +164,6 @@ public class OutputStreamWriter extends Writer {
* @see java.nio.charset.Charset
*
* @revised 1.4
* @spec JSR-51
*/
public String getEncoding() {
return se.getEncoding();

View file

@ -121,7 +121,6 @@ public class RandomAccessFile implements DataOutput, DataInput, Closeable {
* @see java.lang.SecurityManager#checkRead(java.lang.String)
* @see java.lang.SecurityManager#checkWrite(java.lang.String)
* @revised 1.4
* @spec JSR-51
*/
public RandomAccessFile(String name, String mode)
throws FileNotFoundException
@ -208,7 +207,6 @@ public class RandomAccessFile implements DataOutput, DataInput, Closeable {
* @see java.lang.SecurityManager#checkWrite(java.lang.String)
* @see java.nio.channels.FileChannel#force(boolean)
* @revised 1.4
* @spec JSR-51
*/
public RandomAccessFile(File file, String mode)
throws FileNotFoundException
@ -293,7 +291,6 @@ public class RandomAccessFile implements DataOutput, DataInput, Closeable {
* @return the file channel associated with this file
*
* @since 1.4
* @spec JSR-51
*/
public final FileChannel getChannel() {
FileChannel fc = this.channel;
@ -637,7 +634,6 @@ public class RandomAccessFile implements DataOutput, DataInput, Closeable {
* @throws IOException if an I/O error occurs.
*
* @revised 1.4
* @spec JSR-51
*/
public void close() throws IOException {
if (closed) {