mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8261880: Change nested classes in java.base to static nested classes where possible
Reviewed-by: redestad
This commit is contained in:
parent
459abd561a
commit
9425d3de83
11 changed files with 15 additions and 15 deletions
|
@ -53,7 +53,7 @@ public final class KeychainStore extends KeyStoreSpi {
|
|||
// If a key came from the keychain it has a SecKeyRef and one or more
|
||||
// SecCertificateRef. When we delete the key we have to delete all of the corresponding
|
||||
// native objects.
|
||||
class KeyEntry {
|
||||
static class KeyEntry {
|
||||
Date date; // the creation date of this entry
|
||||
byte[] protectedPrivKey;
|
||||
char[] password;
|
||||
|
@ -63,7 +63,7 @@ public final class KeychainStore extends KeyStoreSpi {
|
|||
};
|
||||
|
||||
// Trusted certificates
|
||||
class TrustedCertEntry {
|
||||
static class TrustedCertEntry {
|
||||
Date date; // the creation date of this entry
|
||||
|
||||
Certificate cert;
|
||||
|
@ -883,7 +883,7 @@ public final class KeychainStore extends KeyStoreSpi {
|
|||
entries.put(alias.toLowerCase(), ke);
|
||||
}
|
||||
|
||||
private class CertKeychainItemPair {
|
||||
private static class CertKeychainItemPair {
|
||||
long mCertificateRef;
|
||||
Certificate mCert;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue