From d5831ed866cb3d1cf2c77d7a3e535afc9e2b688b Mon Sep 17 00:00:00 2001 From: Peyang Date: Wed, 5 Nov 2025 22:26:03 +0000 Subject: [PATCH] 8357880: Code formatting typo in Cipher.getMaxAllowedParameterSpec Reviewed-by: fandreuzzi, mullan --- src/java.base/share/classes/javax/crypto/Cipher.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/java.base/share/classes/javax/crypto/Cipher.java b/src/java.base/share/classes/javax/crypto/Cipher.java index f95917b5c86..6ff5a4e00ac 100644 --- a/src/java.base/share/classes/javax/crypto/Cipher.java +++ b/src/java.base/share/classes/javax/crypto/Cipher.java @@ -263,7 +263,7 @@ public class Cipher { } /** - * Creates a {code Cipher} object. Called internally by {code NullCipher}. + * Creates a {@code Cipher} object. Called internally by {@code NullCipher}. * * @param cipherSpi the delegate * @param transformation the transformation @@ -2690,7 +2690,7 @@ public class Cipher { } /** - * Returns an {code AlgorithmParameterSpec} object which contains + * Returns an {@code AlgorithmParameterSpec} object which contains * the maximum {@code Cipher} parameter value according to the * jurisdiction policy file. If JCE unlimited strength jurisdiction * policy files are installed or there is no maximum limit on the @@ -2698,7 +2698,7 @@ public class Cipher { * {@code null} will be returned. * * @param transformation the cipher transformation - * @return an {code AlgorithmParameterSpec} object which holds the maximum + * @return an {@code AlgorithmParameterSpec} object which holds the maximum * value or {@code null} * @throws NullPointerException if {@code transformation} * is {@code null}