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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue