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

@ -591,7 +591,6 @@ public class Socket implements java.io.Closeable {
* @throws IllegalArgumentException if endpoint is null or is a
* SocketAddress subclass not supported by this socket
* @since 1.4
* @spec JSR-51
*/
public void connect(SocketAddress endpoint) throws IOException {
connect(endpoint, 0);
@ -613,7 +612,6 @@ public class Socket implements java.io.Closeable {
* SocketAddress subclass not supported by this socket, or
* if {@code timeout} is negative
* @since 1.4
* @spec JSR-51
*/
public void connect(SocketAddress endpoint, int timeout) throws IOException {
if (endpoint == null)
@ -886,7 +884,6 @@ public class Socket implements java.io.Closeable {
* for a channel
*
* @since 1.4
* @spec JSR-51
*/
public SocketChannel getChannel() {
return null;
@ -935,7 +932,6 @@ public class Socket implements java.io.Closeable {
* using {@link #shutdownInput()}
*
* @revised 1.4
* @spec JSR-51
*/
public InputStream getInputStream() throws IOException {
if (isClosed())
@ -1007,7 +1003,6 @@ public class Socket implements java.io.Closeable {
* @throws IOException if an I/O error occurs when creating the
* output stream or if the socket is not connected.
* @revised 1.4
* @spec JSR-51
*/
public OutputStream getOutputStream() throws IOException {
if (isClosed())
@ -1581,7 +1576,6 @@ public class Socket implements java.io.Closeable {
*
* @throws IOException if an I/O error occurs when closing this socket.
* @revised 1.4
* @spec JSR-51
* @see #isClosed
*/
public synchronized void close() throws IOException {