mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-25 06:10:44 +00:00
8162819: fix minor Javadoc issues and remove warnings in java.net.Socket
Reviewed-by: dfuchs
This commit is contained in:
parent
8bdadcb9dc
commit
d83a402794
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2000, 2016, 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
|
||||
@ -164,7 +164,7 @@ class Inet4Address extends InetAddress {
|
||||
}
|
||||
|
||||
/**
|
||||
* Utility routine to check if the InetAddress in a wildcard address.
|
||||
* Utility routine to check if the InetAddress is a wildcard address.
|
||||
* @return a {@code boolean} indicating if the Inetaddress is
|
||||
* a wildcard address.
|
||||
* @since 1.4
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2000, 2016, 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
|
||||
@ -691,7 +691,7 @@ class Inet6Address extends InetAddress {
|
||||
}
|
||||
|
||||
/**
|
||||
* Utility routine to check if the InetAddress in a wildcard address.
|
||||
* Utility routine to check if the InetAddress is a wildcard address.
|
||||
*
|
||||
* @return a {@code boolean} indicating if the Inetaddress is
|
||||
* a wildcard address.
|
||||
|
||||
@ -361,7 +361,7 @@ class InetAddress implements java.io.Serializable {
|
||||
}
|
||||
|
||||
/**
|
||||
* Utility routine to check if the InetAddress in a wildcard address.
|
||||
* Utility routine to check if the InetAddress is a wildcard address.
|
||||
* @return a {@code boolean} indicating if the Inetaddress is
|
||||
* a wildcard address.
|
||||
* @since 1.4
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1995, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1995, 2016, 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
|
||||
@ -907,7 +907,6 @@ class Socket implements java.io.Closeable {
|
||||
throw new SocketException("Socket is not connected");
|
||||
if (isInputShutdown())
|
||||
throw new SocketException("Socket input is shutdown");
|
||||
final Socket s = this;
|
||||
InputStream is = null;
|
||||
try {
|
||||
is = AccessController.doPrivileged(
|
||||
@ -947,7 +946,6 @@ class Socket implements java.io.Closeable {
|
||||
throw new SocketException("Socket is not connected");
|
||||
if (isOutputShutdown())
|
||||
throw new SocketException("Socket output is shutdown");
|
||||
final Socket s = this;
|
||||
OutputStream os = null;
|
||||
try {
|
||||
os = AccessController.doPrivileged(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user