Skip to content
Permalink
Browse files
8252831: Correct "no comment" warnings in jdk.net module
Reviewed-by: chegar, vtewari, dfuchs
  • Loading branch information
pconcannon committed Mar 8, 2021
1 parent 51cca57 commit ab2cfccac72d2ae45a6488940cb29b91088bf330
Showing 1 changed file with 10 additions and 2 deletions.
@@ -78,6 +78,7 @@ private Sockets() {}
* @param name The socket option
* @param value The value of the socket option. May be null for some
* options.
* @param <T> The type of the socket option
*
* @throws UnsupportedOperationException if the socket does not support
* the option.
@@ -107,6 +108,7 @@ public static <T> void setOption(Socket s, SocketOption<T> name, T value) throws
*
* @param s the socket
* @param name The socket option
* @param <T> The type of the socket option
*
* @return The value of the socket option.
*
@@ -135,7 +137,8 @@ public static <T> T getOption(Socket s, SocketOption<T> name) throws IOException
*
* @param s the socket
* @param name The socket option
* @param value The value of the socket option.
* @param value The value of the socket option
* @param <T> The type of the socket option
*
* @throws UnsupportedOperationException if the socket does not support
* the option.
@@ -165,6 +168,7 @@ public static <T> void setOption(ServerSocket s, SocketOption<T> name, T value)
*
* @param s the socket
* @param name The socket option
* @param <T> The type of the socket option
*
* @return The value of the socket option.
*
@@ -194,7 +198,8 @@ public static <T> T getOption(ServerSocket s, SocketOption<T> name) throws IOExc
*
* @param s the socket
* @param name The socket option
* @param value The value of the socket option.
* @param value The value of the socket option
* @param <T> The type of the socket option
*
* @throws UnsupportedOperationException if the socket does not support
* the option.
@@ -225,6 +230,7 @@ public static <T> void setOption(DatagramSocket s, SocketOption<T> name, T value
*
* @param s the socket
* @param name The socket option
* @param <T> The type of the socket option
*
* @return The value of the socket option.
*
@@ -255,6 +261,8 @@ public static <T> T getOption(DatagramSocket s, SocketOption<T> name) throws IOE
*
* @param socketType the type of java.net socket
*
* @return A set of socket options
*
* @throws IllegalArgumentException if socketType is not a valid
* socket type from the java.net package.
*

0 comments on commit ab2cfcc

Please sign in to comment.