mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8343482: Remove unnecessary @SuppressWarnings annotations (net)
Reviewed-by: dfuchs
This commit is contained in:
parent
c799cad1de
commit
f95097cc64
4 changed files with 3 additions and 9 deletions
|
@ -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())
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2005, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2005, 2024, 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
|
||||
|
@ -50,7 +50,6 @@ class NegotiateAuthentication extends AuthenticationInfo {
|
|||
@java.io.Serial
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@SuppressWarnings("serial") // Not statically typed as Serializable
|
||||
private final HttpCallerInfo hci;
|
||||
|
||||
// These maps are used to manage the GSS availability for different
|
||||
|
@ -71,7 +70,6 @@ class NegotiateAuthentication extends AuthenticationInfo {
|
|||
}
|
||||
|
||||
// The HTTP Negotiate Helper
|
||||
@SuppressWarnings("serial") // Not statically typed as Serializable
|
||||
private Negotiator negotiator = null;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue