From a01ca622e5b5d4562804c2871f374ee4f7df4d7a Mon Sep 17 00:00:00 2001 From: Mikhail Yankelevich Date: Tue, 20 Jan 2026 16:41:44 +0000 Subject: [PATCH] Doc changes --- .../macosx/classes/apple/security/KeychainStore.java | 8 ++++---- .../classes/com/sun/crypto/provider/JceKeyStore.java | 8 ++++---- .../share/classes/java/security/KeyStore.java | 10 +++++----- .../share/classes/java/security/KeyStoreSpi.java | 8 ++++---- .../classes/sun/security/pkcs12/PKCS12KeyStore.java | 8 ++++---- .../classes/sun/security/provider/DomainKeyStore.java | 8 ++++---- .../classes/sun/security/provider/JavaKeyStore.java | 8 ++++---- 7 files changed, 29 insertions(+), 29 deletions(-) diff --git a/src/java.base/macosx/classes/apple/security/KeychainStore.java b/src/java.base/macosx/classes/apple/security/KeychainStore.java index bc172726b2c..db7156bfe58 100644 --- a/src/java.base/macosx/classes/apple/security/KeychainStore.java +++ b/src/java.base/macosx/classes/apple/security/KeychainStore.java @@ -415,13 +415,13 @@ abstract sealed class KeychainStore extends KeyStoreSpi { } /** - * Returns the instant that the entry identified - * by the given alias was created. + * Returns the instant that the entry identified by the given alias was + * created. * * @param alias the alias name * - * @return the creation instant of this entry, or null if the given - * alias does not exist + * @return the instant that the entry identified by the given alias + * was created, or {@code null} if the given alias does not exist * * @since 27 */ diff --git a/src/java.base/share/classes/com/sun/crypto/provider/JceKeyStore.java b/src/java.base/share/classes/com/sun/crypto/provider/JceKeyStore.java index 71f58514c4f..c243ac67545 100644 --- a/src/java.base/share/classes/com/sun/crypto/provider/JceKeyStore.java +++ b/src/java.base/share/classes/com/sun/crypto/provider/JceKeyStore.java @@ -223,13 +223,13 @@ public final class JceKeyStore extends KeyStoreSpi { } /** - * Returns the instant that the entry identified - * by the given alias was created. + * Returns the instant that the entry identified by the given alias was + * created. * * @param alias the alias name * - * @return the creation instant of this entry, or null if the given - * alias does not exist + * @return the instant that the entry identified by the given alias + * was created, or {@code null} if the given alias does not exist * * @since 27 */ diff --git a/src/java.base/share/classes/java/security/KeyStore.java b/src/java.base/share/classes/java/security/KeyStore.java index 1cc4d652990..83414082cab 100644 --- a/src/java.base/share/classes/java/security/KeyStore.java +++ b/src/java.base/share/classes/java/security/KeyStore.java @@ -1206,16 +1206,16 @@ public class KeyStore { /** - * Returns the instant that the entry identified - * by the given alias was created. + * Returns the instant that the entry identified by the given alias was + * created. * * @param alias the alias name * * @return the instant that the entry identified by the given alias - * was created, or {@code null} if the given alias does not exist. + * was created, or {@code null} if the given alias does not exist * - * @throws KeyStoreException if the keystore has not been initialized - * (loaded). + * @throws KeyStoreException if the keystore has not been initialized + * (loaded) * * @since 27 */ diff --git a/src/java.base/share/classes/java/security/KeyStoreSpi.java b/src/java.base/share/classes/java/security/KeyStoreSpi.java index 4a6321255f5..f22669d4aac 100644 --- a/src/java.base/share/classes/java/security/KeyStoreSpi.java +++ b/src/java.base/share/classes/java/security/KeyStoreSpi.java @@ -129,8 +129,8 @@ public abstract class KeyStoreSpi { public abstract Date engineGetCreationDate(String alias); /** - * Returns the instant that the entry identified - * by the given alias was created. + * Returns the instant that the entry identified by the given alias was + * created. *

* Subclasses should override this method to directly return an instant. * @@ -140,8 +140,8 @@ public abstract class KeyStoreSpi { * * @param alias the alias name * - * @return the creation instant of this entry, or {@code null} - * if the given alias does not exist + * @return the instant that the entry identified by the given alias + * was created, or {@code null} if the given alias does not exist * * @since 27 */ diff --git a/src/java.base/share/classes/sun/security/pkcs12/PKCS12KeyStore.java b/src/java.base/share/classes/sun/security/pkcs12/PKCS12KeyStore.java index 132e8ec1885..2d2195eb4e7 100644 --- a/src/java.base/share/classes/sun/security/pkcs12/PKCS12KeyStore.java +++ b/src/java.base/share/classes/sun/security/pkcs12/PKCS12KeyStore.java @@ -551,13 +551,13 @@ public final class PKCS12KeyStore extends KeyStoreSpi { } /** - * Returns the instant that the entry identified - * by the given alias was created. + * Returns the instant that the entry identified by the given alias was + * created. * * @param alias the alias name * - * @return the creation date of this entry, or null if the given alias does - * not exist + * @return the instant that the entry identified by the given alias + * was created, or {@code null} if the given alias does not exist * * @since 27 */ diff --git a/src/java.base/share/classes/sun/security/provider/DomainKeyStore.java b/src/java.base/share/classes/sun/security/provider/DomainKeyStore.java index 950f07d30ef..163454b55fc 100644 --- a/src/java.base/share/classes/sun/security/provider/DomainKeyStore.java +++ b/src/java.base/share/classes/sun/security/provider/DomainKeyStore.java @@ -220,13 +220,13 @@ abstract class DomainKeyStore extends KeyStoreSpi { } /** - * Returns the instant that the entry identified - * by the given alias was created. + * Returns the instant that the entry identified by the given alias was + * created. * * @param alias the alias name * - * @return the creation instant of this entry, or null if the given - * alias does not exist + * @return the instant that the entry identified by the given alias + * was created, or {@code null} if the given alias does not exist * * @since 27 */ diff --git a/src/java.base/share/classes/sun/security/provider/JavaKeyStore.java b/src/java.base/share/classes/sun/security/provider/JavaKeyStore.java index c335bb38a41..f014c2ecbc0 100644 --- a/src/java.base/share/classes/sun/security/provider/JavaKeyStore.java +++ b/src/java.base/share/classes/sun/security/provider/JavaKeyStore.java @@ -245,13 +245,13 @@ public abstract sealed class JavaKeyStore extends KeyStoreSpi { /** - * Returns the instant that the entry identified - * by the given alias was created. + * Returns the instant that the entry identified by the given alias was + * created. * * @param alias the alias name * - * @return the creation instant of this entry, or null if the given alias does - * not exist + * @return the instant that the entry identified by the given alias + * was created, or {@code null} if the given alias does not exist * * @since 27 */