8343482: Remove unnecessary @SuppressWarnings annotations (net)

Reviewed-by: dfuchs
This commit is contained in:
Archie Cobbs 2024-11-05 15:46:00 +00:00
parent c799cad1de
commit f95097cc64
4 changed files with 3 additions and 9 deletions

View file

@ -2057,7 +2057,6 @@ public class Socket implements java.io.Closeable {
*
* @since 9
*/
@SuppressWarnings("unchecked")
public <T> T getOption(SocketOption<T> name) throws IOException {
Objects.requireNonNull(name);
if (isClosed())