mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8209024
: Use SuppressWarnings on serialVersionUID fields in interfaces
Reviewed-by: bpb, rriggs, mullan
This commit is contained in:
parent
080d3bb21a
commit
4bac00436d
20 changed files with 38 additions and 18 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2018, 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
|
||||
|
@ -64,5 +64,6 @@ public interface SecretKey extends
|
|||
* The class fingerprint that is set to indicate serialization
|
||||
* compatibility since J2SE 1.4.
|
||||
*/
|
||||
@SuppressWarnings("serial") // serialVersionUID in an interface is ineffectual
|
||||
static final long serialVersionUID = -4795878709595146952L;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2018, 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
|
||||
|
@ -42,6 +42,7 @@ public interface DHPrivateKey extends DHKey, java.security.PrivateKey {
|
|||
* The class fingerprint that is set to indicate serialization
|
||||
* compatibility since J2SE 1.4.
|
||||
*/
|
||||
@SuppressWarnings("serial") // serialVersionUID in an interface is ineffectual
|
||||
static final long serialVersionUID = 2211791113380396553L;
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2018, 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
|
||||
|
@ -42,6 +42,7 @@ public interface DHPublicKey extends DHKey, java.security.PublicKey {
|
|||
* The class fingerprint that is set to indicate serialization
|
||||
* compatibility since J2SE 1.4.
|
||||
*/
|
||||
@SuppressWarnings("serial") // serialVersionUID in an interface is ineffectual
|
||||
static final long serialVersionUID = -6628103563352519193L;
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2001, 2007, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2018, 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
|
||||
|
@ -42,6 +42,7 @@ public interface PBEKey extends javax.crypto.SecretKey {
|
|||
* The class fingerprint that is set to indicate serialization
|
||||
* compatibility since J2SE 1.4.
|
||||
*/
|
||||
@SuppressWarnings("serial") // serialVersionUID in an interface is ineffectual
|
||||
static final long serialVersionUID = -1430015993304333921L;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue