Skip to content

Commit

Permalink
updated spec text and included typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
haimaychao committed Dec 8, 2020
1 parent 265b7e2 commit 12db794
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/java.base/share/classes/java/security/KeyStore.java
Original file line number Diff line number Diff line change
Expand Up @@ -1421,7 +1421,7 @@ public final void store(OutputStream stream, char[] password)
* algorithm could not be found
* @throws CertificateException if any of the certificates included in
* the keystore data could not be stored
* @throws UnsupportedOperationException if this method is not supported
* @throws UnsupportedOperationException if this operation is not supported
*
* @since 1.5
*/
Expand Down
10 changes: 5 additions & 5 deletions src/java.base/share/classes/java/security/KeyStoreSpi.java
Original file line number Diff line number Diff line change
Expand Up @@ -302,25 +302,25 @@ public abstract void engineStore(OutputStream stream, char[] password)

/**
* Stores this keystore using the given
* {@code KeyStore.LoadStoreParmeter}.
* {@code KeyStore.LoadStoreParameter}.
*
* @implSpec The default implementation throws
* an {@link UnsupportedOperationException}.
*
* @param param the {@code KeyStore.LoadStoreParmeter}
* @param param the {@code KeyStore.LoadStoreParameter}
* that specifies how to store the keystore,
* which may be {@code null}
*
* @throws IllegalArgumentException if the given
* {@code KeyStore.LoadStoreParmeter}
* {@code KeyStore.LoadStoreParameter}
* input is not recognized
* @throws IOException if there was an I/O problem with data
* @throws NoSuchAlgorithmException if the appropriate data integrity
* algorithm could not be found
* @throws CertificateException if any of the certificates included in
* the keystore data could not be stored
* @throws UnsupportedOperationException if the implementation
* has not overridden this method
* @throws UnsupportedOperationException if the implementation does
* not support this operation
*
* @since 1.5
*/
Expand Down

0 comments on commit 12db794

Please sign in to comment.