8343467: Remove unnecessary @SuppressWarnings annotations (security)

Reviewed-by: mullan
This commit is contained in:
Archie Cobbs 2024-12-13 22:40:42 +00:00
parent e7fc0eb522
commit 4b21fb9df9
23 changed files with 13 additions and 36 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2005, 2022, 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
@ -49,7 +49,6 @@ public interface TlsMasterSecret extends SecretKey {
* ineffectual. Do not use; no replacement.
*/
@Deprecated
@SuppressWarnings("serial")
@java.io.Serial
long serialVersionUID = -461748105810469773L;

View file

@ -149,7 +149,6 @@ final class ProviderConfig {
/**
* Get the provider object. Loads the provider if it is not already loaded.
*/
@SuppressWarnings("deprecation")
Provider getProvider() {
// volatile variable load
Provider p = provider;